mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
add real life testing for PPPoE and VLANs
This commit is contained in:
1 parent
ba2abbc444
commit
9448625662
9 files changed
+251
-50
No files matched your search
+1
-1
@@ -174,7 +174,7 @@ static void test_ipv6cp(void) {
|
||||
sizeof(ipv6cp)));
|
||||
proto = MG_TCPIP_L2PROTO_ARP;
|
||||
ASSERT(mg_l2_rx(&ifp, &proto, &pay, &raw) == false);
|
||||
ASSERT(memcmp(&((struct mg_l2addr *) ifp.gwmac)->addr.ieee64, ipv6cp + 6,
|
||||
ASSERT(memcmp(&((struct mg_l2addr *) ifp.gw6mac)->addr.ieee64, ipv6cp + 6,
|
||||
8) == 0);
|
||||
ASSERT(((struct ipv6cp *) ppp_payload(frame))->code ==
|
||||
MG_PPP_IPV6CP_CFG_ACK);
|
||||
|
||||
Reference in new issue
Block a user