Skip to content

Commit

Permalink
zebra: cleanup arp-nd-redirect debugs
Browse files Browse the repository at this point in the history
Fixup a copy-paste issue + make the log strings consistent.

Signed-off-by: Trey Aspelund <[email protected]>
  • Loading branch information
Trey Aspelund authored and donaldsharp committed Dec 8, 2024
1 parent 3fa2baf commit ebea3c5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions zebra/zebra_evpn_arp_nd.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,15 +593,14 @@ void zebra_evpn_arp_nd_udp_sock_create(void)

if (zevpn_arp_nd_info.udp_fd <= 0) {
flog_err(EC_LIB_SOCKET,
"evpn arp_nd UDP sock fd %d bind to %pI4 errno %s",
zevpn_arp_nd_info.udp_fd, &zmh_info->es_originator_ip,
safe_strerror(errno));
"evpn arp_nd UDP sock socket(): fd %d errno %s",
zevpn_arp_nd_info.udp_fd, safe_strerror(errno));
return;
}
if (setsockopt(zevpn_arp_nd_info.udp_fd, SOL_SOCKET, SO_REUSEADDR,
(void *)&reuse, sizeof(reuse)))
flog_err(EC_LIB_SOCKET,
"evpn arp_nd sock SO_REUSEADDR set: fd %d errno %s",
"evpn arp_nd UDP sock SO_REUSEADDR set: fd %d errno %s",
zevpn_arp_nd_info.udp_fd, safe_strerror(errno));
}

Expand Down

0 comments on commit ebea3c5

Please sign in to comment.