From 9530f624e971183a0e72fe5123f542e0a4e1b329 Mon Sep 17 00:00:00 2001 From: Ghanan Gowripalan Date: Sat, 6 Feb 2021 09:47:26 -0800 Subject: Unexpose NIC The NIC structure is not to be used outside of the stack package directly. PiperOrigin-RevId: 356036737 --- pkg/tcpip/stack/linkaddrcache_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/tcpip/stack/linkaddrcache_test.go') diff --git a/pkg/tcpip/stack/linkaddrcache_test.go b/pkg/tcpip/stack/linkaddrcache_test.go index 9e7f331c9..d2de0de1e 100644 --- a/pkg/tcpip/stack/linkaddrcache_test.go +++ b/pkg/tcpip/stack/linkaddrcache_test.go @@ -93,8 +93,8 @@ func getBlocking(c *linkAddrCache, addr tcpip.Address) (tcpip.LinkAddress, tcpip } } -func newEmptyNIC() *NIC { - n := &NIC{} +func newEmptyNIC() *nic { + n := &nic{} n.linkResQueue.init(n) return n } -- cgit v1.2.3