]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
we are adding IPv4 based link-local addresses, too.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 14 Aug 1999 10:51:10 +0000 (10:51 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 14 Aug 1999 10:51:10 +0000 (10:51 +0000)
svn-id: @474

sysconfig/network-scripts/ifup

index 87fdee1ba5e8472e5ed400a7de2f8817dd44486b..ffd82f21ddcdfcebcfde01d894071972c9e8c7e5 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $Id: ifup,v 1.19 1999/08/02 10:08:05 misiek Exp $
+#      $Id: ifup,v 1.20 1999/08/14 10:51:10 misiek Exp $
 #
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 
@@ -145,6 +145,9 @@ fi
           ip -family inet6 addr add ${ADDR} dev ${DEVICE} label ${FULLDEVNAME}
           ip -family inet6 route add ${ADDR} dev ${DEVICE}
       done  
+      if [ -z "$IPv6_ONLY" ]; then
+       ip -family inet6 addr add fe80::${IPADDR} dev ${DEVICE} label ${FULLDEVNAME} scope link
+      fi
     fi
 
 # hack for 2.2 kernels
This page took 0.03494 seconds and 4 git commands to generate.