]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: reflect mac handling change of apis to bgpd
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 3 Feb 2017 08:10:08 +0000 (09:10 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 3 Feb 2017 08:16:14 +0000 (09:16 +0100)
As the prefix call function for mac handling has prefix_ prepended
before, the change must be propagated to all locations where those
functions are called.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/rfapi/rfapi_vty.c

index f08ab98be37ab864eacb83494e79642179f5107b..9c245f63d0494c41765a802a42f9576774894816 100644 (file)
@@ -313,7 +313,7 @@ rfapiL2o2Qprefix (struct rfapi_l2address_option *l2o, struct prefix *pfx)
 char *
 rfapiEthAddr2Str (const struct ethaddr *ea, char *buf, int bufsize)
 {
-  return mac2str (ea->octet, buf, bufsize);
+  return prefix_mac2str (ea->octet, buf, bufsize);
 }
 
 int