summaryrefslogtreecommitdiff
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
commit2e46841afd778b1518d3d75e58f95461f79b5f41 (patch)
tree50e455dcf1601d7f0744ba2865f4179cc19bc705
parent5cf0db54c6e2d0129e47da703000673f5aa915bc (diff)
downloadmtk-20170518-2e46841afd778b1518d3d75e58f95461f79b5f41.zip
mtk-20170518-2e46841afd778b1518d3d75e58f95461f79b5f41.tar.gz
mtk-20170518-2e46841afd778b1518d3d75e58f95461f79b5f41.tar.bz2
switch the br2684 default to routed mode instead of bridged mode, as it's more common
SVN-Revision: 12277
-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 5a2bedd..739baab 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}"
}