switch the br2684 default to routed mode instead of bridged mode, as it's more common
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Aug 2008 13:02:44 +0000 (13:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 11 Aug 2008 13:02:44 +0000 (13:02 +0000)
SVN-Revision: 12277

package/br2684ctl/files/br2684ctl

index 5a2bedd3d804339f386341e1e50a505e36e45d03..739baabdd064d5f64c9c0487fafa87fe96703f4c 100755 (executable)
@@ -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}" 
 }