]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/hooks/zones/bridge
vlan: Create devices when they don't exist, yet
[people/ms/network.git] / src / hooks / zones / bridge
index e0d839b3d757e799c15e49b2a9f2e383672b94e6..245f4c1a21b59078421552d59c4ffb5e84d7d2a5 100644 (file)
@@ -308,7 +308,7 @@ hook_port_up() {
        # We will get here as soon as the port device has
        # been created and will then connect it with the bridge.
        if ! device_exists "${port}"; then
-               port_up "${port}"
+               port_create "${port}"
 
                exit ${EXIT_OK}
        fi