netifd: fix jail ifdown and jails without jail_ifname
authorDaniel Golle <daniel@makrotopia.org>
Mon, 13 Apr 2020 23:53:28 +0000 (00:53 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 13 Apr 2020 23:55:02 +0000 (00:55 +0100)
commita5a90a94cee96667b217fbaeb563c1fc4f4b7dba
tree07386a7668a7601a9571e0ba0319a022ffd90d5c
parent4e4f7c6d2d88d738d1ccc2c9cea594c5d1bfa900
netifd: fix jail ifdown and jails without jail_ifname

The previous commit introduced a regression for netns jails without
jail_ifname set. Fix that.

Fixes: 4e4f7c6d2d ("netifd: network namespace jail improvements")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/config/netifd/Makefile