diff options
author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-07-14 15:05:34 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:01 +0100 |
commit | 3d7765d7417b0552fb4d6356742dc68428bf3d4b (patch) | |
tree | 05cfa22a655816b861854be3a6ae20983bcf8c6b /pimd/pim_sock.c | |
parent | pimd: Create pim_encode_addr_group (diff) | |
download | frr-3d7765d7417b0552fb4d6356742dc68428bf3d4b.tar.xz frr-3d7765d7417b0552fb4d6356742dc68428bf3d4b.zip |
pimd: Fixup some dead code
Remove some dead code.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_sock.c')
-rw-r--r-- | pimd/pim_sock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_sock.c b/pimd/pim_sock.c index 231efd0f2..3eeda040b 100644 --- a/pimd/pim_sock.c +++ b/pimd/pim_sock.c @@ -267,7 +267,6 @@ int pim_socket_join_source(int fd, ifindex_t ifindex, const char *ifname) { if (pim_igmp_join_source(fd, ifindex, group_addr, source_addr)) { - int e = errno; char group_str[100]; char source_str[100]; pim_inet4_dump("<grp?>", group_addr, group_str, sizeof(group_str)); @@ -275,7 +274,7 @@ int pim_socket_join_source(int fd, ifindex_t ifindex, zlog_warn("%s: setsockopt(fd=%d) failure for IGMP group %s source %s ifindex %d on interface %s: errno=%d: %s", __PRETTY_FUNCTION__, fd, group_str, source_str, ifindex, ifname, - e, safe_strerror(e)); + errno, safe_strerror(errno)); return -1; } |