projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
system-linux: fix the default broadcast address for v4
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
1db2efe
..
3dceef0
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-183,7
+183,7
@@
interface_claim_device(struct interface *iface)
{
struct device *dev;
- if (iface->ifname &&
iface->proto_handler &&
+ if (iface->ifname &&
!(iface->proto_handler->flags & PROTO_FLAG_NODEV)) {
dev = device_get(iface->ifname, true);
if (dev)