Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More Readme fixes.

  • Loading branch information...
commit cb08a92a715b5032e57e58e5c33405701970e26c 1 parent bc3fe61
@archaelus authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 README.rst
View
7 README.rst
@@ -80,12 +80,11 @@ From an erlang shell (``erl -boot start_sasl -pa ebin``)::
enet_arp_responder:publish(Arp, enet_eth_iface:default_mac(),
<<192,168,2,2>>),
{ok, Eth} = enet_eth_iface:start("tap0", "192.168.2.1/24 up"),
- {ok, Dumper} = enet_if_dump:attach(Pid).
+ {ok, Dumper} = enet_if_dump:attach(Eth),
+ enet_arp_responder:attach(Arp, Eth).
You should now see decoded traffic in the erlang shell. If you ping
the IP address of the erlang interface ``192.168.2.2`` in the example,
you should see ping replies and an arp entry (``arp -na``)::
- ? (192.168.2.2) at 4a:6e:1:1b:19:8f on tap0 ifscope [ethernet]
-
-
+ ? (192.168.2.2) at 0:0:0:aa:bb:cc on tap0 ifscope [ethernet]
Please sign in to comment.
Something went wrong with that request. Please try again.