Browse Source

Merge pull request #6153 from TDT-AG/pr/20180530-net-mwan3-fix-connected-networks

net/mwan3: fix connected networks
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
a02335741d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      net/mwan3/Makefile
  2. +4
    -4
      net/mwan3/files/etc/hotplug.d/iface/15-mwan3

+ 1
- 1
net/mwan3/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mwan3
PKG_VERSION:=2.6.16
PKG_VERSION:=2.6.17
PKG_RELEASE:=1
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
PKG_LICENSE:=GPLv2


+ 4
- 4
net/mwan3/files/etc/hotplug.d/iface/15-mwan3 View File

@ -16,15 +16,15 @@ config_load mwan3
config_get_bool enabled globals 'enabled' '0'
[ ${enabled} -gt 0 ] || exit 0
config_get enabled $INTERFACE enabled 0
config_get initial_state $INTERFACE initial_state "online"
[ "$enabled" == "1" ] || exit 0
mwan3_lock
mwan3_init
mwan3_set_connected_iptables
mwan3_unlock
config_get enabled $INTERFACE enabled 0
config_get initial_state $INTERFACE initial_state "online"
[ "$enabled" == "1" ] || exit 0
if [ "$ACTION" == "ifup" ]; then
config_get family $INTERFACE family ipv4
if [ "$family" = "ipv4" ]; then


Loading…
Cancel
Save