This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
net/mwan3: fix ipset generation in hotplug script with an lock
Fix critical section during hotplug events. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert
8 years ago
parent
a934a25f21
commit
a4fbc7eba6
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
net/mwan3/files/etc/hotplug.d/iface/15-mwan3
+ 2
- 0
net/mwan3/files/etc/hotplug.d/iface/15-mwan3
View File
@ -12,7 +12,9 @@ if [ "$ACTION" == "ifup" ]; then
[ -n "$DEVICE" ] || exit 3
fi
mwan3_lock
mwan3_set_connected_iptables
mwan3_unlock
config_load mwan3
config_get enabled $INTERFACE enabled 0
Write
Preview
Loading…
Cancel
Save