X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-autoipd%2Favahi-autoipd.action.linux;h=cc9238c1303abb2ae528483802767cbd33daa5b6;hb=e11fda547143d8b1e931d77f1661668d41473c73;hp=27f00bb08c3102ebbfb549678c76065d07881a3e;hpb=f10b82b26456f44d03d0c28d93c5118b859d3891;p=catta diff --git a/avahi-autoipd/avahi-autoipd.action.linux b/avahi-autoipd/avahi-autoipd.action.linux index 27f00bb..cc9238c 100755 --- a/avahi-autoipd/avahi-autoipd.action.linux +++ b/avahi-autoipd/avahi-autoipd.action.linux @@ -1,7 +1,5 @@ #!/bin/sh -# $Id$ -# # This file is part of avahi. # # avahi is free software; you can redistribute it and/or modify it @@ -55,11 +53,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 ;; *)