chiark
/
gitweb
/
~ian
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e43702
)
test: expect initial ping packet to come back on inside, for now
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 11 Oct 2019 20:43:54 +0000
(21:43 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 22:29:26 +0000
(23:29 +0100)
We are pinging the remote secnet, which responds without sending the
packet to its host (ie, "outside.r" in our terms).
We can improve this later if we care.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/invoke
patch
|
blob
|
history
diff --git
a/test/invoke
b/test/invoke
index 7182d13336286ec8f93afd42c2feb66cc137859a..2fbba6ec99eda98112b2d5b75c84a374effde028 100755
(executable)
--- a/
test/invoke
+++ b/
test/invoke
@@
-113,12
+113,12
@@
proc netlink-readable {which} {
upvar #0 netlinkfh($which.r) fh
read $fh; # empty the buffer
switch -exact $which {
-
out
side {
+
in
side {
puts OK
set ok 1; # what a bodge
return
}
-
in
side {
+
out
side {
error "inside rx'd!"
}
}