diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2011-10-18 15:27:21 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-11-21 18:26:39 +0400 |
commit | 3062d2dab6e8bea9003d67a05d1e018a927d6f1d (patch) | |
tree | c7a9f7e00e03ec8b3dcf41d605fa52ba86bfd5c0 /bgpd | |
parent | 49ff274c29eaa45ae85766e62dab32faea7f32b8 (diff) |
bgpd: fix error message in bgp_attr_aspath()
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index dae895d7..55691fda 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -813,7 +813,7 @@ bgp_attr_aspath (struct peer *peer, bgp_size_t length, if ((flag & BGP_ATTR_FLAG_OPTIONAL) != (require & BGP_ATTR_FLAG_OPTIONAL)) zlog (peer->log, LOG_ERR, "%s attribute flag must %sbe optional %d", path_type, - (flag & BGP_ATTR_FLAG_OPTIONAL) ? "not " : "", flag) ; + CHECK_FLAG (require, BGP_ATTR_FLAG_OPTIONAL) ? "" : "not ", flag); bgp_notify_send_with_data (peer, BGP_NOTIFY_UPDATE_ERR, |