summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/examples
diff options
context:
space:
mode:
Diffstat (limited to 'extras/libmemif/examples')
-rw-r--r--extras/libmemif/examples/icmp-responder/icmp-responder.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/extras/libmemif/examples/icmp-responder/icmp-responder.go b/extras/libmemif/examples/icmp-responder/icmp-responder.go
index f9867f7..5e9f2e0 100644
--- a/extras/libmemif/examples/icmp-responder/icmp-responder.go
+++ b/extras/libmemif/examples/icmp-responder/icmp-responder.go
@@ -3,9 +3,10 @@
// and construct packets.
//
// The appropriate VPP configuration for the opposite memif is:
-// vpp$ create memif id 1 socket /tmp/icmp-responder-example slave secret secret
-// vpp$ set int state memif0/1 up
-// vpp$ set int ip address memif0/1 192.168.1.2/24
+// vpp$ create memif socket id 1 filename /tmp/icmp-responder-example
+// vpp$ create interface memif id 1 socket-id 1 slave secret secret no-zero-copy
+// vpp$ set int state memif1/1 up
+// vpp$ set int ip address memif1/1 192.168.1.2/24
//
// To start the example, simply type:
// root$ ./icmp-responder