projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69485f5
)
minor cleanup
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 16:49:08 +0000
(18:49 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 16:49:08 +0000
(18:49 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 62617e264bc0c1840af4fe08de255c84312c8b05..fa4b2254a5b38c082b59563df468971f0434b60f 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-308,11
+308,9
@@
interface_add(struct interface *iface, struct blob_attr *config)
blobmsg_parse(iface_attrs, IFACE_ATTR_MAX, tb,
blob_data(config), blob_len(config));
- if ((cur = tb[IFACE_ATTR_IFNAME]))
{
+ if ((cur = tb[IFACE_ATTR_IFNAME]))
iface->ifname = blobmsg_data(cur);
- }
-
iface->config = config;
vlist_add(&interfaces, &iface->node);
}