proto-shell: ensure that l3_dev is always set
authorFelix Fietkau <nbd@openwrt.org>
Mon, 7 Apr 2014 11:09:09 +0000 (13:09 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 7 Apr 2014 11:09:12 +0000 (13:09 +0200)
commit5df59a6cf9fd307378bd5cbea809a22f6de9f33d
tree87e85dcd513fe32379640894b01f7fc906f18eb2
parent36359529c2976d5788c914e30234e2a503b01049
proto-shell: ensure that l3_dev is always set

A link-down event clears l3_dev, so even if the proto handler does not
provide a new ifname, it still needs to be set explicitly

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
proto-shell.c