diff --git a/templates/p4_psa_ebpf_ip_template/main.p4 b/templates/p4_psa_ebpf_ip_template/main.p4 index 8f08430..9226c86 100644 --- a/templates/p4_psa_ebpf_ip_template/main.p4 +++ b/templates/p4_psa_ebpf_ip_template/main.p4 @@ -123,7 +123,7 @@ control ebpfIngress(inout headers hdr, table forward { key = { - hdr.ipv4.dst_addr : exact; + hdr.ipv4.dst : exact; } actions = { diff --git a/templates/p4_psa_ebpf_mac_forward/main.p4 b/templates/p4_psa_ebpf_mac_forward/main.p4 index 28ecc9d..2af315c 100644 --- a/templates/p4_psa_ebpf_mac_forward/main.p4 +++ b/templates/p4_psa_ebpf_mac_forward/main.p4 @@ -127,7 +127,7 @@ control ebpfIngress(inout headers hdr, table forward { key = { - hdr.ethernet.dst_addr : exact; + hdr.ethernet.dstAddr : exact; } actions = {