diff options
author | paul <paul> | 2008-07-22 19:56:56 +0000 |
---|---|---|
committer | paul <paul> | 2008-07-22 19:56:56 +0000 |
commit | 42f57d1707f9da733ca2113bf8d9b176bf088ecf (patch) | |
tree | 52fe86e9c751cb0765f9b9e30368de9269b431fc /bgpd/bgp_attr.c | |
parent | 0eaaeb664b7f66e389f1c626befa28d777fe8e65 (diff) | |
download | quagga-42f57d1707f9da733ca2113bf8d9b176bf088ecf.tar.bz2 quagga-42f57d1707f9da733ca2113bf8d9b176bf088ecf.tar.xz |
[bgpd] fix a couple of trivial compiler warnings
2008-07-22 Paul Jakma <paul.jakma@sun.com>
* bgp_community.c: (community_str2com) assigns defaults to local
vars
* bgp_attr.c: (bgp_attr_parse) match format specifier to arg
* bgp_table.{c,h}: (bgp_table_top) can take a * to a const, quelling
warning in bgp_route.c
Diffstat (limited to 'bgpd/bgp_attr.c')
-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 19a0869f..752099d1 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -1571,7 +1571,7 @@ bgp_attr_parse (struct peer *peer, struct attr *attr, bgp_size_t size, && ((endp - startp) < (BGP_ATTR_MIN_LEN + 1))) { zlog (peer->log, LOG_WARNING, - "%s Extended length set, but just %u bytes of attr header", + "%s Extended length set, but just %lu bytes of attr header", peer->host, (unsigned long) (endp - STREAM_PNT (BGP_INPUT (peer)))); |