[package] babeld: fix wrong option order
authorkerneis <kerneis@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 3 Jun 2010 21:15:23 +0000 (21:15 +0000)
committerkerneis <kerneis@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 3 Jun 2010 21:15:23 +0000 (21:15 +0000)
Thanks to Juliusz and Nico.

Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21666 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/babel/files/babeld.init

index 24bfb6f..dfcf700 100755 (executable)
@@ -56,6 +56,8 @@ babel_filter() {
 
        append_parm "$cfg" 'type' ''
 
+       append_bool "$cfg" 'local' 'local'
+
        append_parm "$cfg" 'ip' 'ip'
        append_parm "$cfg" 'eq' 'eq'
        append_parm "$cfg" 'le' 'le'
@@ -66,8 +68,6 @@ babel_filter() {
 
        append_ifname "$cfg" 'if' 'if'
 
-       append_bool "$cfg" 'local' 'local'
-
        append_parm "$cfg" 'action' ''
 
        append args ' ' "'"