Merge branch 'master' of github.com:jclehner/nmrpflash
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Mon, 13 Feb 2017 14:12:22 +0000 (16:12 +0200)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Mon, 13 Feb 2017 14:12:22 +0000 (16:12 +0200)
1  2 
ethsock.c

diff --cc ethsock.c
index 90fd71fd864dcd5b5961aca862709112aebe85e9,1cbc5da9befb77e268aedf40077e067e10154424..5798d1cdf5f391ad1eb0ccb1e47bc2dd70421455
+++ b/ethsock.c
@@@ -169,8 -169,11 +169,12 @@@ static bool get_intf_info(const char *i
        }
  
        found = false;
 +      *bridge = false;
  
+       if (bridge) {
+               *bridge = false;
+       }
        for (ifa = ifas; ifa; ifa = ifa->ifa_next) {
                if (!strcmp(ifa->ifa_name, intf)) {
                        if (sockaddr_get_hwaddr(ifa->ifa_addr, hwaddr)) {