Mcast rewrite no memcpy
use a 32bit mask in the adjacency to AND with the IP address and OR into the rewrite. Change-Id: I80b0f246c18fd74f3e43c5d49e25833412f34665 Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
70efbfcd49
commit
2e7fbcc081
@ -101,7 +101,6 @@ class TestIPMcast(VppTestCase):
|
||||
tx = sent[i]
|
||||
rx = capture[i]
|
||||
|
||||
# the rx'd packet has the MPLS label popped
|
||||
eth = rx[Ether]
|
||||
self.assertEqual(eth.type, 0x800)
|
||||
|
||||
@ -128,7 +127,6 @@ class TestIPMcast(VppTestCase):
|
||||
tx = sent[i]
|
||||
rx = capture[i]
|
||||
|
||||
# the rx'd packet has the MPLS label popped
|
||||
eth = rx[Ether]
|
||||
self.assertEqual(eth.type, 0x86DD)
|
||||
|
||||
|
Reference in New Issue
Block a user