# #
###############################################################################
-. /lib/network/header-port
+. /usr/lib/network/header-port
HOOK_SETTINGS="HOOK DEVICE_MAC"
config_read $(port_file ${port})
if [ "${DEVICE_MAC}" = "$(device_get_address ${device})" ]; then
+ log DEBUG "Device '${device}' equals port '${port}'."
exit ${EXIT_OK}
fi
+ log DEBUG "Device '${device}' does not equal port '${port}'."
exit ${EXIT_ERROR}
}