Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Skip inet6 addresses that begin with fe80: (not jus...



details:   https://anonhg.NetBSD.org/src/rev/535834b25a23
branches:  trunk
changeset: 744202:535834b25a23
user:      kim <kim%NetBSD.org@localhost>
date:      Mon Jan 27 08:28:33 2020 +0000

description:
Skip inet6 addresses that begin with fe80: (not just exact match).

diffstat:

 etc/rc.d/ipsec |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 42a072cca5f7 -r 535834b25a23 etc/rc.d/ipsec
--- a/etc/rc.d/ipsec    Mon Jan 27 07:48:59 2020 +0000
+++ b/etc/rc.d/ipsec    Mon Jan 27 08:28:33 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ipsec,v 1.15 2018/08/13 09:16:06 christos Exp $
+# $NetBSD: ipsec,v 1.16 2020/01/27 08:28:33 kim Exp $
 #
 
 # PROVIDE: ipsec
@@ -34,7 +34,7 @@
                case "$what" in
                inet)   echo "local v4_addr=$address;";;
                inet6)  case "$address" in
-                       fe80:)  ;;
+                       fe80:*) ;;
                        *)      echo "local v6_addr=$address;";;
                        esac;;
                esac



Home | Main Index | Thread Index | Old Index