aboutsummaryrefslogtreecommitdiffstats
path: root/package/br2684ctl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-11 13:02:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-11 13:02:44 +0000
commit54e9123cdcaadac43c43c59154f817856140e8ed (patch)
tree443e6e6ccd860c37fc47bccbd6ab5c2e5c9ebcc0 /package/br2684ctl
parent02b5de5e814b784d9caf7562a9b701285b96657d (diff)
downloadmaster-187ad058-54e9123cdcaadac43c43c59154f817856140e8ed.tar.gz
master-187ad058-54e9123cdcaadac43c43c59154f817856140e8ed.tar.bz2
master-187ad058-54e9123cdcaadac43c43c59154f817856140e8ed.zip
switch the br2684 default to routed mode instead of bridged mode, as it's more common
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12277 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/br2684ctl')
-rwxr-xr-xpackage/br2684ctl/files/br2684ctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/br2684ctl/files/br2684ctl b/package/br2684ctl/files/br2684ctl
index 5a2bedd3d8..739baabdd0 100755
--- a/package/br2684ctl/files/br2684ctl
+++ b/package/br2684ctl/files/br2684ctl
@@ -20,8 +20,8 @@ start_daemon() {
*) encaps=0;;
esac
case "$payload" in
- 1|bridged) payload=1;;
- *) payload=0;;
+ 0|routed) payload=0;;
+ *) payload=1;;
esac
br2684ctl -b -c "$unit" -e "$encaps" -p "$payload" -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}"
}