Skip to content

Commit

Permalink
fix field names
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Köppeler committed Aug 18, 2023
1 parent e2ec09f commit 09bdf86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/p4_psa_ebpf_ip_template/main.p4
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ control ebpfIngress(inout headers hdr,

table forward {
key = {
hdr.ipv4.dst_addr : exact;
hdr.ipv4.dst : exact;
}

actions = {
Expand Down
2 changes: 1 addition & 1 deletion templates/p4_psa_ebpf_mac_forward/main.p4
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ control ebpfIngress(inout headers hdr,

table forward {
key = {
hdr.ethernet.dst_addr : exact;
hdr.ethernet.dstAddr : exact;
}

actions = {
Expand Down

0 comments on commit 09bdf86

Please sign in to comment.