]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_aspath.h
bgpd: bgpd-warnings.patch
[mirror_frr.git] / bgpd / bgp_aspath.h
index 8846949cb0e91fd3847ee1933b79707842157040..ec2df042fd4264c42221f94d8afcd81095651e00 100644 (file)
@@ -105,7 +105,7 @@ extern int aspath_firstas_check (struct aspath *, as_t);
 extern int aspath_confed_check (struct aspath *);
 extern int aspath_left_confed_check (struct aspath *);
 extern unsigned long aspath_count (void);
-extern unsigned int aspath_count_hops (struct aspath *);
+extern unsigned int aspath_count_hops (const struct aspath *);
 extern unsigned int aspath_count_confeds (struct aspath *);
 extern unsigned int aspath_size (struct aspath *);
 extern as_t aspath_highest (struct aspath *);