diff options
author | Chris Kuiper <ckuiper@google.com> | 2018-12-06 11:47:17 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-06 11:48:12 -0800 |
commit | 1b3442cae017c4870baf2ed878c63f171029a662 (patch) | |
tree | 6d0d288d363042b3d9a56d9c7678c26fd9864d2b /pkg/tcpip/stack/BUILD | |
parent | 666db00c262c7d6d6359fbaba28e344d015a7823 (diff) |
Allow sending of broadcast packets w/o route.
Currently sending a broadcast packet (for DHCP, e.g.) requires a "default
route" of the format "0.0.0.0/0 via 0.0.0.0 <intf>". There is no good reason
for this and on devices with several ports this creates a rather akward route
table with lots of such default routes (which defeats the purpose of a default
route).
PiperOrigin-RevId: 224378769
Change-Id: Icd7ec8a206eb08083cff9a837f6f9ab231c73a19
Diffstat (limited to 'pkg/tcpip/stack/BUILD')
-rw-r--r-- | pkg/tcpip/stack/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/stack/BUILD b/pkg/tcpip/stack/BUILD index 5e7355135..90cc05cda 100644 --- a/pkg/tcpip/stack/BUILD +++ b/pkg/tcpip/stack/BUILD @@ -40,6 +40,7 @@ go_test( ":stack", "//pkg/tcpip", "//pkg/tcpip/buffer", + "//pkg/tcpip/header", "//pkg/tcpip/link/channel", "//pkg/waiter", ], |