diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-23 12:44:34 -0800 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-23 13:31:11 -0800 |
| commit | 4690c7d74c8d3f08ac3c4c73918c847a9dd862b4 (patch) | |
| tree | 55e97b177d0b5c153f8390342660a412d5e33a19 /ospf6d/ospf6_interface.c | |
| parent | 35dece848d46456441d75181953290a23193e84c (diff) | |
Quagga: prefix2str fixup
During CR for nexthop upstream it was noticed that usage
of prefix2str was not consistent. This fixes this problem
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 4b7745a625..7c2dcf53f4 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -430,7 +430,7 @@ ospf6_interface_connected_route_update (struct interface *ifp) { struct prefix_list *plist; enum prefix_list_type ret; - char buf[128]; + char buf[PREFIX2STR_BUFFER]; prefix2str (c->address, buf, sizeof (buf)); plist = prefix_list_lookup (AFI_IP6, oi->plist_name); @@ -868,7 +868,7 @@ ospf6_interface_show (struct vty *vty, struct interface *ifp) struct connected *c; struct prefix *p; struct listnode *i; - char strbuf[64], drouter[32], bdrouter[32]; + char strbuf[PREFIX2STR_BUFFER], drouter[32], bdrouter[32]; const char *updown[3] = {"down", "up", NULL}; const char *type; struct timeval res, now; |
