summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-06-19 07:39:28 +0000
committerhrs <hrs@FreeBSD.org>2014-06-19 07:39:28 +0000
commitab263ec2ff6b200c895cb3a031fec8c785fa067f (patch)
treef83ee833248f2d689345bd3b1ffb2f8c2732a5fa
parent724c799774ac23443e1c73901cf9b746d4028daf (diff)
downloadFreeBSD-src-ab263ec2ff6b200c895cb3a031fec8c785fa067f.zip
FreeBSD-src-ab263ec2ff6b200c895cb3a031fec8c785fa067f.tar.gz
Fix address matching rule.
Reported by: jase
-rw-r--r--etc/network.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr
index f841872..b2e183f 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -1058,7 +1058,7 @@ ifalias_af_common_handler()
# Process the last component if any.
if [ -n "$_tmpargs}" ]; then
case $_tmpargs in
- ${_af}\ *[0-9][a-f][A-F]-*)
+ ${_af}\ *[0-9a-fA-F]-*)
ifalias_af_common_handler $_if $_af $_action \
`ifalias_expand_addr $_af $_action ${_tmpargs#${_af}\ }`
;;
OpenPOWER on IntegriCloud