iankelling.org
/
git
/
newns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acd1cda
)
fix for updated err dependency
author
Ian Kelling
<iank@fsf.org>
Fri, 3 Jul 2020 21:41:12 +0000
(17:41 -0400)
committer
Ian Kelling
<iank@fsf.org>
Fri, 3 Jul 2020 21:41:12 +0000
(17:41 -0400)
newns
patch
|
blob
|
history
diff --git
a/newns
b/newns
index 5075181714569a1d6e8980bb27af27e0b3eb4ddc..05e1068b5c5ebe20f377fff62e1aa13bf1f91ea5 100755
(executable)
--- a/
newns
+++ b/
newns
@@
-274,7
+274,7
@@
start() {
diptables-add FORWARD -o $v0 -j ACCEPT
- _errcatch_cleanup=stop
+ err-cleanup() { stop; }
ipnn link add $v0 type veth peer name $v1
ipnn link set $v0 netns default
ipd addr add $network.1/24 dev $v0