On 15 September 2019 18:04:49 CEST, Martin Lewis <martin.lewis....@gmail.com> 
wrote:
>Signed-off-by: Martin Lewis <martin.lewis....@gmail.com>
>---
>networking/brctl.c | 119
>++++++++++++++++++++++++++++++++++++++++++++---------
> 1 file changed, 100 insertions(+), 19 deletions(-)
>
>diff --git a/networking/brctl.c b/networking/brctl.c
>index 586ca9b..35771a5 100644
>--- a/networking/brctl.c
>+++ b/networking/brctl.c
>@@ -61,10 +61,10 @@
> //usage:     "\n      setbridgeprio BRIDGE PRIO       Set bridge priority"
> //usage:     "\n      setportprio BRIDGE IFACE PRIO   Set port priority"
> //usage:     "\n      setpathcost BRIDGE IFACE COST   Set path cost"
>+//usage:     "\n      showmacs BRIDGE         List mac addrs"
> //usage:      )
> // Not yet implemented:
> //                    hairpin BRIDGE IFACE on|off     Hairpin on/off
>-//                    showmacs BRIDGE                 List mac addrs
> //                    showstp BRIDGE                  Show stp info
> 
> #include "libbb.h"
>@@ -196,6 +196,94 @@ static void write_uint(const char *name, const
>char *leaf, unsigned val)
>               bb_simple_perror_msg_and_die(name);
>       close(fd);
> }
>+
>+struct __fdb_entry {
>+      uint8_t mac_addr[6];

Infiniband has 20 bytes MAC addresses so this is not accurate.

Thanks,
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to