diff options
| author | sarita patra <saritap@vmware.com> | 2021-12-14 04:22:28 -0800 |
|---|---|---|
| committer | Mobashshera Rasool <mrasool@vmware.com> | 2022-01-10 21:10:29 -0800 |
| commit | b7ed98e9b6f5a0aad4e4659d458093c3d9c059d9 (patch) | |
| tree | 64ea28b8ff1a16a1f23e40560b5fe1a0816e7468 /pimd/pim_upstream.h | |
| parent | d02ea60665e381c7fa598f9032bfbfb67ea6f2e2 (diff) | |
pimd: Modifying in_addr to pim_addr in struct pim_upstream for IPv6.
Changed struct in_addr upstream_addr and struct in_addr upstream_register
to struct PIM_ADDR upstream_addr and struct PIM_ADDR upstream_register
which are to be used in both IPv4 and IPv6(Both MLD and IGMP).
Reviewed-by: Mobashshera Rasool <mrasool@vmware.com>
Signed-off-by: sarita patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_upstream.h')
| -rw-r--r-- | pimd/pim_upstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_upstream.h b/pimd/pim_upstream.h index ea3b564f8a..b4469ad329 100644 --- a/pimd/pim_upstream.h +++ b/pimd/pim_upstream.h @@ -229,8 +229,8 @@ struct pim_upstream { struct pim_instance *pim; struct rb_pim_upstream_item upstream_rb; struct pim_upstream *parent; - struct in_addr upstream_addr; /* Who we are talking to */ - struct in_addr upstream_register; /*Who we received a register from*/ + pim_addr upstream_addr; /* Who we are talking to */ + pim_addr upstream_register; /*Who we received a register from*/ struct prefix_sg sg; /* (S,G) group key */ char sg_str[PIM_SG_LEN]; uint32_t flags; |
