Age | Commit message (Collapse) | Author |
|
Signed-off-by: Steven Barth <steven@midlink.org>
|
|
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>
|
|
see man asprintf
[...]
RETURN VALUE
When successful, these functions return the number of bytes printed, just like sprintf(3).
If memory allocation wasn't possible, or some other error occurs, these functions will return -1,
and the contents of strp is undefined.
Signed-off-by: Frank Meerkötter <frank@meerkoetter.org>
|
|
|
|
|
|
sense to expose the enabled attribute anymore
|
|
|
|
|
|
cleaned up if they have config settings attached to them
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
address, returns the interface that the route goes through
|
|
|
|
|
|
address/route removal on device or interface state changes
|
|
|
|
|
|
|
|
an external process adds interfaces
|
|
|
|
prevent use-after-free bugs
|
|
|
|
containing the real device name
|
|
|
|
for created child processes
|
|
|
|
|
|
detailed device information
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|