projects
/
openwrt
/
staging
/
jogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf0db5
)
switch the br2684 default to routed mode instead of bridged mode, as it's more common
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 11 Aug 2008 13:02:44 +0000
(13:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 11 Aug 2008 13:02:44 +0000
(13:02 +0000)
SVN-Revision: 12277
package/br2684ctl/files/br2684ctl
patch
|
blob
|
history
diff --git
a/package/br2684ctl/files/br2684ctl
b/package/br2684ctl/files/br2684ctl
index 5a2bedd3d804339f386341e1e50a505e36e45d03..739baabdd064d5f64c9c0487fafa87fe96703f4c 100755
(executable)
--- 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}"
}