aboutsummaryrefslogtreecommitdiff
path: root/net/mwan3/files
diff options
context:
space:
mode:
authorAaron Goodman <aaronjg@stanford.edu>2020-10-22 09:00:33 -0400
committerAaron Goodman <aaronjg@stanford.edu>2020-10-22 09:41:48 -0400
commite5dc144968f1f907b2a1711f294af4381277ea82 (patch)
treeddc24f751575210ca04e2d44c507eb66b0824f50 /net/mwan3/files
parentb55f95dbd31f9dd7f9502dccfcfee92b031f1171 (diff)
mwan3: fix mwan3 'use'
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Diffstat (limited to 'net/mwan3/files')
-rwxr-xr-xnet/mwan3/files/usr/sbin/mwan34
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mwan3/files/usr/sbin/mwan3 b/net/mwan3/files/usr/sbin/mwan3
index 0251607a0..45776bdfc 100755
--- a/net/mwan3/files/usr/sbin/mwan3
+++ b/net/mwan3/files/usr/sbin/mwan3
@@ -123,7 +123,7 @@ restart() {
/etc/init.d/mwan3 start
}
-wrap() {
+use() {
# Run a command with the device, src_ip and fwmark set to avoid processing by mwan3
# firewall rules
@@ -132,7 +132,7 @@ wrap() {
config_load mwan3
interface=$1 ; shift
- [ -z "$*" ] && echo "no command specified for mwan3 wrap" && return
+ [ -z "$*" ] && echo "no command specified for mwan3 use" && return
network_get_device device $interface
[ -z "$device" ] && echo "could not find device for $interface" && return