diff options
author | Nathan Hintz <nlhintz@hotmail.com> | 2013-01-05 18:41:45 -0800 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-06 04:09:24 +0100 |
commit | 16e21f6b33c40895cda27af4bc9f3bd0136d2482 (patch) | |
tree | 39c42058e67284c5dca4c9d7e48b280ef6928e6c /interface-ip.c | |
parent | 4108e7610019d63db6540de760feecf38c8b84dc (diff) |
fix removal of unknown device
Netifd will crash if an attempt is made to remove a device that is not
known to netifd. For instance:
ubus call network.interface.lan remove_device "{ \"name\": \"xxx\" }"
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Diffstat (limited to 'interface-ip.c')
0 files changed, 0 insertions, 0 deletions