bluez-utils: Fix ability to automatically ifup the transitory ppp connection for bluetooth dund devices.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@13620 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
rwhitby
2008-12-13 13:25:31 +00:00
parent 683f436139
commit 69b6800f20
3 changed files with 5 additions and 3 deletions

View File

@ -63,7 +63,7 @@ dund_config() {
append_string "$cfg" pppdopts ""
config_get ifn "$cfg" interface
if [ -n "$ifn" ]; then
config_get unit "$ifn" unit
config_get unit "$cfg" unit
[ -z "$unit" ] || append args "unit $unit ipparam $ifn linkname $ifn"
fi