meta-google: gbmc-ncsi-config: Fix broadcast rules
Distinguish between broadcast only packets and broadcast + unicast
packets.
Change-Id: I52f7969ccd00e4142d5585a37b92cc5530b76dec
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in b/meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in
index e2ade6e..303dbca 100644
--- a/meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in
+++ b/meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in
@@ -14,13 +14,16 @@
chain gbmc_br_pub_input {
}
chain ncsi_legacy_input {
- jump ncsi_brd_input
+ jump ncsi_any_input
tcp dport 3959 accept
udp dport 3959 accept
tcp dport 3967 accept
udp dport 3967 accept
}
chain ncsi_brd_input {
+ jump ncsi_any_input
+ }
+ chain ncsi_any_input {
icmpv6 type nd-neighbor-advert accept
icmpv6 type nd-neighbor-solicit accept
icmpv6 type nd-router-advert accept