net)
assert isset INTERFACE
- # Don't do anything for zones
- if zone_exists "${INTERFACE}"; then
- exit ${EXIT_OK}
-
# Stop processing rules for the loopback device
- elif device_is_loopback ${INTERFACE}; then
+ if device_is_loopback ${INTERFACE}; then
exit ${EXIT_OK}
# Stop processing rules for wireless monitoring devices
fi
# Did we get called for a non-existing interface?
- if ! port_exists "${INTERFACE}"; then
+ if ! zone_exists "${INTERFACE}" && ! port_exists "${INTERFACE}"; then
case "${ACTION}" in
add)
log WARNING "Got to hotplug event for a port which does not exist: ${INTERFACE}"