Skip to content

Commit

Permalink
Merge pull request #592 from AltraMayor/inf-flow
Browse files Browse the repository at this point in the history
gatekeeper: log filters that NICs support
  • Loading branch information
AltraMayor authored Jul 28, 2022
2 parents f234148 + 9c8dfbf commit 653b720
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ ethertype_flow_add(struct gatekeeper_if *iface, uint16_t ether_type,
return -1;
}

G_LOG(NOTICE, "%s(%s): EtherType=0x%x flow supported\n",
__func__, iface->name, ether_type);
return 0;
}

Expand Down Expand Up @@ -323,6 +325,8 @@ ipv4_flow_add(struct gatekeeper_if *iface, rte_be32_t dst_ip_be,
return -1;
}

G_LOG(NOTICE, "%s(%s, %s): IPv4 flow supported\n",
__func__, iface->name, str_flow);
return 0;
}

Expand Down

0 comments on commit 653b720

Please sign in to comment.