From: Michael Tremer Date: Sun, 23 Sep 2018 17:52:49 +0000 (+0200) Subject: hotplug: Do not attempt to remove special device ip_vti0 X-Git-Tag: 010~12 X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fnetwork.git;a=commitdiff_plain;h=7887d1e3ed4c2ecd1f23b7235973a12791459ae8 hotplug: Do not attempt to remove special device ip_vti0 Signed-off-by: Michael Tremer --- diff --git a/src/udev/network-hotplug b/src/udev/network-hotplug index c810bf2e..ba065734 100644 --- a/src/udev/network-hotplug +++ b/src/udev/network-hotplug @@ -89,6 +89,11 @@ case "${SUBSYSTEM}" in if device_is_gre "${INTERFACE}" && [ "${INTERFACE}" = "gre0" ]; then log DEBUG "gre0 cannot be removed" exit ${EXIT_OK} + + # VTI + elif device_is_vti "${INTERFACE}" && [ "${INTERFACE}" = "ip_vti0" ]; then + log DEBUG "ip_vti0 cannot be removed" + exit ${EXIT_OK} fi TYPE="$(device_get_type "${INTERFACE}")"