interface: fix NULL pointer defref in interface_set_main_dev
authorFelix Fietkau <nbd@openwrt.org>
Tue, 18 Jun 2013 16:24:37 +0000 (18:24 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 18 Jun 2013 16:24:51 +0000 (18:24 +0200)
commit987bdc77deecb928d86b9d710cc3bcfa5b3d80eb
tree8d06b6d43efbf4aac528d0d3b9ca21ee3f8a4d84
parent0b154730c1c2bb9ca73a23c46a9e46b8adf89d36
interface: fix NULL pointer defref in interface_set_main_dev

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