From b5a7b1ab148e64ef13e4a81e87c246099b4e594d Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 27 Jan 2020 08:28:33 +0000 Subject: [PATCH] Skip inet6 addresses that begin with fe80: (not just exact match). --- etc/rc.d/ipsec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/ipsec b/etc/rc.d/ipsec index a58d3a560254..b3c925e1ad24 100755 --- a/etc/rc.d/ipsec +++ b/etc/rc.d/ipsec @@ -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 @@ ipsec_getip() { case "$what" in inet) echo "local v4_addr=$address;";; inet6) case "$address" in - fe80:) ;; + fe80:*) ;; *) echo "local v6_addr=$address;";; esac;; esac