aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-12-14 21:41:10 +0000
committerCy Schubert <cy@FreeBSD.org>2023-01-02 18:20:05 +0000
commite3e57edf4aac05d041ca55ff2f008c6109ef88d5 (patch)
tree94923aea81b8d95c76f3430710d31e2a0ef64e2c /libexec
parent87061d3bffd1becd643b0ba9dc6f0a7699efbb39 (diff)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rc/network.subr3
1 files changed, 3 insertions, 0 deletions
diff --git a/libexec/rc/network.subr b/libexec/rc/network.subr
index 76a5b94bc408..29ac06daefb2 100644
--- a/libexec/rc/network.subr
+++ b/libexec/rc/network.subr
@@ -1049,6 +1049,9 @@ ifalias_af_common_handler()
# Process the last component if any.
if [ -n "${_tmpargs}" ]; then
case $_tmpargs in
+ ${_af}[[:space:]]pass[[:space:]]*)
+ ${IFCONFIG_CMD} $_if $_tmpargs $_action && _ret=0
+ ;;
${_af}[[:space:]]*[0-9a-fA-F]-*)
ifalias_af_common_handler $_if $_af $_action \
`ifalias_expand_addr $_af $_action ${_tmpargs#${_af}[[:space:]]}`