avahi-autoipd.action.linux creates <dev>:3 aliases when using ifconfig instead of the <dev>:avahi aliases used when ip is used. Fix it to always use <dev>:avahi for consistency.
Signed-off-by: Peter Korsgaard <[email protected]> --- avahi-autoipd/avahi-autoipd.action.linux | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/avahi-autoipd/avahi-autoipd.action.linux b/avahi-autoipd/avahi-autoipd.action.linux index 27f00bb..9b14600 100755 --- a/avahi-autoipd/avahi-autoipd.action.linux +++ b/avahi-autoipd/avahi-autoipd.action.linux @@ -55,11 +55,11 @@ elif [ -x /bin/ifconfig -o -x /sbin/ifconfig ] ; then case "$1" in BIND) - ifconfig "$2:3" inet "$3" netmask 255.255.0.0 broadcast 169.254.255.255 up + ifconfig "$2:avahi" inet "$3" netmask 255.255.0.0 broadcast 169.254.255.255 up ;; CONFLICT|STOP|UNBIND) - ifconfig "$2:3" down + ifconfig "$2:avahi" down ;; *) -- 1.6.2 _______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
