[Pkg-utopia-commits] r1082 - packages/unstable/avahi/debian/patches
Sjoerd Simons
sjoerd at costa.debian.org
Fri Oct 20 08:00:51 UTC 2006
Author: sjoerd
Date: 2006-10-20 08:00:50 +0000 (Fri, 20 Oct 2006)
New Revision: 1082
Modified:
packages/unstable/avahi/debian/patches/11_avahi-autoipd.action-add-routes.patch
Log:
* Don\'t mix tabs and spaces\n* Use the ipv4ll alias interface when using route
Modified: packages/unstable/avahi/debian/patches/11_avahi-autoipd.action-add-routes.patch
===================================================================
--- packages/unstable/avahi/debian/patches/11_avahi-autoipd.action-add-routes.patch 2006-10-20 07:46:58 UTC (rev 1081)
+++ packages/unstable/avahi/debian/patches/11_avahi-autoipd.action-add-routes.patch 2006-10-20 08:00:50 UTC (rev 1082)
@@ -6,12 +6,12 @@
BIND)
- ip addr add "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2"
+ ip addr add "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2"
-+ ip route add default dev "$2" metric 1000 scope link || true
++ ip route add default dev "$2" metric 1000 scope link || true
;;
CONFLICT|UNBIND|STOP)
ip addr del "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2"
-+ ip route del default dev "$2" metric 1000 scope link || true
++ ip route del default dev "$2" metric 1000 scope link || true
;;
*)
@@ -19,12 +19,12 @@
case "$1" in
BIND)
ifconfig "$2:3" inet "$3" netmask 255.255.0.0 broadcast 169.254.255.255 up
-+ route add default dev "$3" metric 1000 || true
++ route add default dev "$2:3" metric 1000 || true
;;
CONFLICT|STOP|UNBIND)
ifconfig "$2:3" down
-+ route del default dev "$3" metric 1000 || true
++ route del default dev "$2:3" metric 1000 || true
;;
*)
More information about the Pkg-utopia-commits
mailing list