Skip to content

Commit 89277b5

Browse files
liujedrobertsoule-barefoot
authored andcommitted
A slightly less vague TODO. (#98)
1 parent 7a3fd6b commit 89277b5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

P4D2_2017_Fall/exercises/basic/basic.p4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ control MyIngress(inout headers hdr,
9696
}
9797

9898
apply {
99-
/* TODO: fix ingress control logic */
99+
/* TODO: fix ingress control logic
100+
* - ipv4_lpm should be applied only when IPv4 header is valid
101+
*/
100102
ipv4_lpm.apply();
101103
}
102104
}

0 commit comments

Comments
 (0)