Skip to content

Commit

Permalink
pim6d: mroute stuck in register state, multicast traffic getting drops
Browse files Browse the repository at this point in the history
PR 11857
  • Loading branch information
mobash-rasool committed Aug 26, 2022
1 parent f0e351f commit e78ca65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pimd/pim_addr.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ typedef struct in_addr pim_addr;
#define PIM_ADDRSTRLEN INET_ADDRSTRLEN
#define PIM_AF AF_INET
#define PIM_AFI AFI_IP
#define PIM_PROTO_REG IPPROTO_RAW
#define PIM_IPADDR IPADDR_V4
#define ipaddr_pim ipaddr_v4
#define PIM_MAX_BITLEN IPV4_MAX_BITLEN
Expand Down Expand Up @@ -58,6 +59,7 @@ typedef struct in6_addr pim_addr;
#define PIM_ADDRSTRLEN INET6_ADDRSTRLEN
#define PIM_AF AF_INET6
#define PIM_AFI AFI_IP6
#define PIM_PROTO_REG IPPROTO_PIM
#define PIM_IPADDR IPADDR_V6
#define ipaddr_pim ipaddr_v6
#define PIM_MAX_BITLEN IPV6_MAX_BITLEN
Expand Down
2 changes: 1 addition & 1 deletion pimd/pim_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ int pim_reg_sock(void)
long flags;

frr_with_privs (&pimd_privs) {
fd = socket(PIM_AF, SOCK_RAW, IPPROTO_RAW);
fd = socket(PIM_AF, SOCK_RAW, PIM_PROTO_REG);
}

if (fd < 0) {
Expand Down

0 comments on commit e78ca65

Please sign in to comment.