Mute multicast registrations (MLDv2)
This commit is contained in:
parent
4d90fd46a8
commit
880db528e7
3 changed files with 26 additions and 14 deletions
|
|
@ -184,7 +184,6 @@ control MyIngress(inout headers hdr,
|
|||
|
||||
/********************** NDP support ***********************************/
|
||||
|
||||
|
||||
table ndp {
|
||||
key = {
|
||||
hdr.ipv6.dst_addr: lpm;
|
||||
|
|
@ -196,14 +195,12 @@ control MyIngress(inout headers hdr,
|
|||
NoAction;
|
||||
}
|
||||
size = NDP_TABLE_SIZE;
|
||||
// default_action = NoAction;
|
||||
default_action = controller_debug;
|
||||
}
|
||||
|
||||
|
||||
/********************** ADDRESS TABLES ***********************************/
|
||||
action icmp6_answer() {
|
||||
|
||||
if(hdr.icmp6.isValid()) {
|
||||
if(hdr.icmp6.code == ICMP6_ECHO_REQUEST) {
|
||||
ipv6_addr_t tmp = hdr.ipv6.src_addr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue