--- embedaddon/quagga/bgpd/bgp_debug.c 2013/07/21 23:54:37 1.1.1.2 +++ embedaddon/quagga/bgpd/bgp_debug.c 2016/11/02 10:09:10 1.1.1.3 @@ -28,6 +28,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330 #include "str.h" #include "log.h" #include "sockunion.h" +#include "filter.h" #include "bgpd/bgpd.h" #include "bgpd/bgp_aspath.h" @@ -174,7 +175,6 @@ bgp_dump_attr (struct peer *peer, struct attr *attr, c snprintf (buf + strlen (buf), size - strlen (buf), ", origin %s", bgp_origin_str[attr->origin]); -#ifdef HAVE_IPV6 if (attr->extra) { char addrbuf[BUFSIZ]; @@ -191,7 +191,6 @@ bgp_dump_attr (struct peer *peer, struct attr *attr, c inet_ntop (AF_INET6, &attr->extra->mp_nexthop_local, addrbuf, BUFSIZ)); } -#endif /* HAVE_IPV6 */ if (CHECK_FLAG (attr->flag, ATTR_FLAG_BIT (BGP_ATTR_LOCAL_PREF))) snprintf (buf + strlen (buf), size - strlen (buf), ", localpref %u", @@ -290,7 +289,7 @@ bgp_notify_print(struct peer *peer, struct bgp_notify code_str, subcode_str, bgp_notify->length, bgp_notify->data ? bgp_notify->data : ""); } - + /* Debug option setting interface. */ unsigned long bgp_debug_option = 0;