s/layer/field/
This commit is contained in:
parent
2a623a0807
commit
492888fd2f
2 changed files with 2 additions and 2 deletions
|
@ -401,7 +401,7 @@ class L2Controller(object):
|
|||
log.debug("Neighbor solicitation for checking her own IP address")
|
||||
elif ICMPv6MLReport2 in orig_packet and orig_packet['IPv6'].dst == 'ff02::16':
|
||||
mc_group = orig_packet['ICMPv6MLDMultAddrRec'].dst
|
||||
log.debug("Multicast registration for {} from {} -- should probably handle this".format(mc_group, cpu_header['ingress_port']))
|
||||
log.debug("Multicast registration for {} from {} -- should probably handle this".format(mc_group, cpu_header.ingress_port))
|
||||
elif ICMPv6ND_RS in orig_packet and orig_packet['IPv6'].dst == 'ff02::2':
|
||||
src = orig_packet['IPv6'].src
|
||||
log.debug("Router solicitation from {} -- should probably handle this?".format(src))
|
||||
|
|
|
@ -292,7 +292,7 @@ control MyEgress(inout headers hdr,
|
|||
hdr.cpu.setValid();
|
||||
hdr.cpu.task = meta.task;
|
||||
hdr.cpu.ethertype = hdr.ethernet.ethertype;
|
||||
hdr.cpu.ingress_port = (bit<16>)meta.ingress_port;
|
||||
hdr.cpu.ingress_port = (bit<16>) meta.ingress_port;
|
||||
|
||||
hdr.ethernet.ethertype = TYPE_CPU;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue