From: Philippe Guibert Date: Thu, 9 Feb 2017 07:44:13 +0000 (+0100) Subject: bgpd: change str2mac call api X-Git-Tag: frr-3.0-branchpoint~31^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1b5fd9813d075af8a543504dc2524769667f41aa;p=mirror%2Ffrr.git bgpd: change str2mac call api With the changed API, some adaptations are done in rfapi code. Signed-off-by: Philippe Guibert --- diff --git a/bgpd/rfapi/rfapi_vty.c b/bgpd/rfapi/rfapi_vty.c index 9c245f63d0..21084afe85 100644 --- a/bgpd/rfapi/rfapi_vty.c +++ b/bgpd/rfapi/rfapi_vty.c @@ -313,7 +313,7 @@ rfapiL2o2Qprefix (struct rfapi_l2address_option *l2o, struct prefix *pfx) char * rfapiEthAddr2Str (const struct ethaddr *ea, char *buf, int bufsize) { - return prefix_mac2str (ea->octet, buf, bufsize); + return prefix_mac2str (ea, buf, bufsize); } int