From: Joseph C. Lehner Date: Mon, 13 Feb 2017 14:12:22 +0000 (+0200) Subject: Merge branch 'master' of github.com:jclehner/nmrpflash X-Git-Tag: v0.9.11-rc1~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=488cb0df6a6d2b8c940ed18f090c94eb68dd63dd;p=oweals%2Fnmrpflash.git Merge branch 'master' of github.com:jclehner/nmrpflash --- 488cb0df6a6d2b8c940ed18f090c94eb68dd63dd diff --cc ethsock.c index 90fd71f,1cbc5da..5798d1c --- a/ethsock.c +++ 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)) {