fff-babeld: add MTU option to babelpeers #125

Open
jkimmel wants to merge 2 commits from jkimmel/firmware:babelpeermtu into master
1 changed files with 2 additions and 10 deletions
Showing only changes of commit 057541129d - Show all commits

View File

@ -47,18 +47,10 @@ configure() {
fi
# get type
if type=$(uci -q get gateway.$name.type); then
type="$type"
else
type=wired
fi
type=$(uci -q get gateway.$name.type) || type=wired
# get rxcost
if rxcost=$(uci -q get gateway.$name.rxcost); then
rxcost="$rxcost"
else
rxcost=96
fi
rxcost=$(uci -q get gateway.$name.rxcost) || rxcost=96
# add interface
uci set network.$prefixname=interface