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