Skip to content

Commit 8695de4

Browse files
authored
Merge pull request #95 from davidcawork/master
Update readme command set_redirect_map by redirect
2 parents 482b4b7 + 3c8cb56 commit 8695de4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packet03-redirecting/README.org

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ $ t exec -n left -- ./xdp_loader -d veth0 -F --progsec xdp_pass
194194
$ t exec -n right -- ./xdp_loader -d veth0 -F --progsec xdp_pass
195195
#+end_src
196196
Configure parameters for both interfaces using the new =xdp_prog_user= helper.
197-
For simplicity there is a new special helper, =t set_redirect_map=, which will
197+
For simplicity there is a new special helper, =t redirect=, which will
198198
do the work for you. See its implementation to see how it obtains inner MAC
199199
addresses by interface names.
200200
#+begin_src sh
201-
$ t set_redirect_map right left
201+
$ t redirect right left
202202
#+end_src
203203
Pings between the two inner interfaces should pass now. Check that they are
204204
actually forwarded by our programs by running =xdp_stats= on both interfaces:

0 commit comments

Comments
 (0)