{
if (!peer->nexthop.v4.s_addr)
{
+#if !defined (HAVE_BGP_STANDALONE)
zlog_err ("%s: No local IPv4 addr resetting connection, fd %d",
peer->host, peer->fd);
bgp_notify_send (peer, BGP_NOTIFY_CEASE, BGP_NOTIFY_SUBCODE_UNSPECIFIC);
return -1;
+#endif
}
}
if (peer->afc_nego[AFI_IP6][SAFI_UNICAST] ||
{
if (IN6_IS_ADDR_UNSPECIFIED (&peer->nexthop.v6_global))
{
+#if !defined (HAVE_BGP_STANDALONE)
zlog_err ("%s: No local IPv6 addr resetting connection, fd %d",
peer->host, peer->fd);
bgp_notify_send (peer, BGP_NOTIFY_CEASE, BGP_NOTIFY_SUBCODE_UNSPECIFIC);
return -1;
+#endif
}
}
peer->rtt = sockopt_tcp_rtt (peer->fd);