Fixes ARP issue in nsclick-ip-router.click and static route in nsclick-routing-node2.click
--- a/src/click/examples/nsclick-ip-router.click Wed Jun 01 17:06:46 2011 +0100
+++ b/src/click/examples/nsclick-ip-router.click Wed Jun 01 17:34:53 2011 +0100
@@ -39,7 +39,7 @@
c1 :: Classifier(12/0806 20/0001, 12/0806 20/0002, 12/0800, -);
FromSimDevice(eth1, 4096) -> c1;
out1 :: Queue(200) -> todevice1 :: ToSimDevice(eth1);
-c1[0] -> ar1 :: ARPResponder(eth0) -> out1;
+c1[0] -> ar1 :: ARPResponder(eth1) -> out1;
arpq1 :: ARPQuerier(eth1) -> out1;
c1[1] -> arpt;
arpt[1] -> [1]arpq1;
--- a/src/click/examples/nsclick-routing-node2.click Wed Jun 01 17:06:46 2011 +0100
+++ b/src/click/examples/nsclick-routing-node2.click Wed Jun 01 17:34:53 2011 +0100
@@ -82,7 +82,7 @@
$dev |
// It is mandatory to use an IPRouteTable element with ns-3-click
- rt :: LinearIPLookup (172.16.2.0/24 0.0.0.0 1,172.16.1.0/24 172.16.1.2 1);
+ rt :: LinearIPLookup (172.16.2.0/24 0.0.0.0 1,172.16.1.0/24 172.16.2.1 1);
// Packets go to "tap0" which sends them to the kernel
input[0]