Mute multicast registrations (MLDv2)

This commit is contained in:
Nico Schottelius 2019-03-19 23:01:55 +01:00
commit 880db528e7
3 changed files with 26 additions and 14 deletions

View file

@ -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;