diff --git a/build/networking/examples/simple_l3/simple_l3.p4 b/build/networking/examples/simple_l3/simple_l3.p4 index 48c7c55f..b5463d82 100644 --- a/build/networking/examples/simple_l3/simple_l3.p4 +++ b/build/networking/examples/simple_l3/simple_l3.p4 @@ -112,11 +112,11 @@ control ingress( ) { action send(PortId_t port) { - ostd.egress_port = (PortId_t) port; + send_to_port(ostd, port); } action drop() { - ostd.drop = true; + ingress_drop(ostd); } table ipv4_host {