summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_aspath.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:12:17 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:12:17 +0200
commitffd0c03744b89328d4f8e134f17cecb07ead6e74 (patch)
tree54b70b9c50d2af6667715df80064e6dc8058e4e1 /bgpd/bgp_aspath.c
parentzebra: zebra-warnings.patch (diff)
downloadfrr-ffd0c03744b89328d4f8e134f17cecb07ead6e74.tar.xz
frr-ffd0c03744b89328d4f8e134f17cecb07ead6e74.zip
bgpd: bgpd-warnings.patch
Remove compile warnings for the bgpd directory Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by:
Diffstat (limited to 'bgpd/bgp_aspath.c')
-rw-r--r--bgpd/bgp_aspath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c
index 0441f8ed8..e46857c32 100644
--- a/bgpd/bgp_aspath.c
+++ b/bgpd/bgp_aspath.c
@@ -420,7 +420,7 @@ aspath_count_confeds (struct aspath *aspath)
}
unsigned int
-aspath_count_hops (struct aspath *aspath)
+aspath_count_hops (const struct aspath *aspath)
{
int count = 0;
struct assegment *seg = aspath->segments;