git://git.onelab.eu
/
nodemanager-topo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update for iproute-2.6.28
[nodemanager-topo.git]
/
teardown-nat
diff --git
a/teardown-nat
b/teardown-nat
index
c1029b4
..
c237338
100644
(file)
--- a/
teardown-nat
+++ b/
teardown-nat
@@
-9,7
+9,7
@@
ETUN1=natx$KEY
/sbin/iptables -D FORWARD -i $ETUN1 -o eth0 -j ACCEPT
# Get rid of etun devices, only need name of one of them
-echo $ETUN1 > /sys/module/etun/parameters/delif
+ip link delete dev $ETUN1