Package: wmaloader
Version: 0.1-1
Severity: important
Tags: patch

The INTERFACE variable found in /etc/default/wmaloader is partially
ignored by the init script resulting in wmaloader always binding
to eth0.

Patch below.

-Andy Wild-

--- wmaloader~      2005-01-26 00:35:57.000000000 +0000
+++ wmaloader       2005-06-07 14:14:21.000000000 +0100
@@ -18,7 +18,7 @@
             route add -net 239.0.0.0 netmask 255.0.0.0 $INTERFACE
         fi
     fi
-    IP=`ifconfig eth0 | awk '/inet addr/ {gsub("addr:","");print $2}'`
+ IP=`ifconfig $INTERFACE | awk '/inet addr/ {gsub("addr:","");print $2}'`
     if [ "$IP"x != ""x ] ; then
         IFACE="--interface $IP"
     fi


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.25-acw43
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages wmaloader depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libupnp0 1.2.1-1 Intel Universal Plug And Play SDK

-- no debconf information


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to