diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index ba018d3f56..fe4ab272ac 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -1701,6 +1701,12 @@ static int bgp_connect_success(struct peer *peer) return -1; } + /* + * If we are doing nht for a peer that ls v6 LL based + * massage the event system to make things happy + */ + bgp_nht_interface_events(peer); + bgp_reads_on(peer); if (bgp_debug_neighbor_events(peer)) { @@ -1739,6 +1745,12 @@ static int bgp_connect_success_w_delayopen(struct peer *peer) return -1; } + /* + * If we are doing nht for a peer that ls v6 LL based + * massage the event system to make things happy + */ + bgp_nht_interface_events(peer); + bgp_reads_on(peer); if (bgp_debug_neighbor_events(peer)) { diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c index aa31883dea..1671af15bf 100644 --- a/zebra/kernel_netlink.c +++ b/zebra/kernel_netlink.c @@ -591,7 +591,7 @@ bool nl_addraw_l(struct nlmsghdr *n, unsigned int maxlen, const void *data, unsigned int len) { if (NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len) > maxlen) { - zlog_err("ERROR message exceeded bound of %d\n", maxlen); + zlog_err("ERROR message exceeded bound of %d", maxlen); return false; }