diff options
| author | Jafar Al-Gharaibeh <Jafaral@users.noreply.github.com> | 2019-05-28 10:26:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-28 10:26:28 -0500 |
| commit | bda0241599246636bebde6143f20ccdec5290570 (patch) | |
| tree | e67f265032fd4fa91e2cfe00d00c233743c7dc31 /pimd/pim_msg.c | |
| parent | f6fd430e44e5eb219e11091ff18b31ea871f2122 (diff) | |
| parent | 19de48b9814b1cda9968a5320545a4c6bbd31d10 (diff) | |
Merge pull request #4239 from sarav511/rp
pimd: PIM Bootstrap Message Processing
Diffstat (limited to 'pimd/pim_msg.c')
| -rw-r--r-- | pimd/pim_msg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_msg.c b/pimd/pim_msg.c index 63688f87e0..2e467502b1 100644 --- a/pimd/pim_msg.c +++ b/pimd/pim_msg.c @@ -39,7 +39,7 @@ #include "pim_oil.h" void pim_msg_build_header(uint8_t *pim_msg, size_t pim_msg_size, - uint8_t pim_msg_type) + uint8_t pim_msg_type, bool no_fwd) { struct pim_msg_header *header = (struct pim_msg_header *)pim_msg; @@ -48,6 +48,7 @@ void pim_msg_build_header(uint8_t *pim_msg, size_t pim_msg_size, */ header->ver = PIM_PROTO_VERSION; header->type = pim_msg_type; + header->Nbit = no_fwd; header->reserved = 0; |
