Commit c5284466 authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #1337 from pbhole/fix_vlan_learning

examples: fix vlan_learning example
parents 166bf0fa 53e3afdb
......@@ -15,7 +15,7 @@ struct ifindex_leaf_t {
BPF_HASH(egress, int, struct ifindex_leaf_t, 4096);
// redirect based on mac -> out_ifindex (config-driven)
BPF_HASH(ingress, struct ifindex_leaf_t, 4096);
BPF_HASH(ingress, u64, struct ifindex_leaf_t, 4096);
int handle_phys2virt(struct __sk_buff *skb) {
// only handle vlan packets
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment