diff options
Diffstat (limited to 'src/lib/connections/dummy')
-rw-r--r-- | src/lib/connections/dummy | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/connections/dummy b/src/lib/connections/dummy index 879fc92..5a12d1e 100644 --- a/src/lib/connections/dummy +++ b/src/lib/connections/dummy @@ -10,16 +10,14 @@ dummy_up() { return 1 fi - ip link add "$Interface" type dummy - + interface_add dummy "$Interface" bring_interface_up "$Interface" ip_set } dummy_down() { ip_unset - bring_interface_down "$Interface" - ip link del "$Interface" + interface_delete "$Interface" } |