aboutgitcodelistschat:MatrixIRC
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-09-04 09:18:13 +0200
committerAlice Frosi <afrosi@redhat.com>2023-09-04 09:18:13 +0200
commit508b2b2f1473b67d41d947a92c368765cb868e17 (patch)
tree4e76670c7c626167c2f2607cb1827aa580363dfc
parent472d0e7212faed61bc6663f428f0d3c1c8ce507e (diff)
downloadseitan-508b2b2f1473b67d41d947a92c368765cb868e17.tar
seitan-508b2b2f1473b67d41d947a92c368765cb868e17.tar.gz
seitan-508b2b2f1473b67d41d947a92c368765cb868e17.tar.bz2
seitan-508b2b2f1473b67d41d947a92c368765cb868e17.tar.lz
seitan-508b2b2f1473b67d41d947a92c368765cb868e17.tar.xz
seitan-508b2b2f1473b67d41d947a92c368765cb868e17.tar.zst
seitan-508b2b2f1473b67d41d947a92c368765cb868e17.zip
demo: update connect example with new tag format
-rw-r--r--demo/connect.hjson6
1 files changed, 3 insertions, 3 deletions
diff --git a/demo/connect.hjson b/demo/connect.hjson
index 551c335..f5c847e 100644
--- a/demo/connect.hjson
+++ b/demo/connect.hjson
@@ -1,13 +1,13 @@
[
{ /* connect to another path (/cool.sock -> /tmp/demo.sock) */
"match": [
- { "connect": { "addr": { "family": "unix", "path": "/cool.sock" }, "fd": { "tag": "fd" } } }
+ { "connect": { "addr": { "family": "unix", "path": "/cool.sock" }, "fd": { "set": "fd" } } }
],
"call": [
{ "socket": { "family": "unix", "type": "stream", "flags": 0, "protocol": 0 }, "ret": "new_fd" },
- { "connect": { "fd": { "tag": { "get": "new_fd" } }, "addr": { "family": "unix", "path": "/tmp/demo.sock" } }, "ret": "y" }
+ { "connect": { "fd": { "get": "new_fd" }, "addr": { "family": "unix", "path": "/tmp/demo.sock" } }, "ret": "y" }
],
- "fd": { "src": { "tag": "fd" }, "new": { "tag": "new_fd" }, "close_on_exec": false },
+ "fd": { "src": { "set": "fd" }, "new": { "set": "new_fd" }, "close_on_exec": false },
"return": { "value": 0, "error": 0 }
},
{ /* Inject permission denied error */