diff options
Diffstat (limited to 'dhcpv6/dhcpv6relay_test.go')
-rw-r--r-- | dhcpv6/dhcpv6relay_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dhcpv6/dhcpv6relay_test.go b/dhcpv6/dhcpv6relay_test.go index 113842c..0b36f81 100644 --- a/dhcpv6/dhcpv6relay_test.go +++ b/dhcpv6/dhcpv6relay_test.go @@ -91,7 +91,6 @@ func TestNewRelayRepFromRelayForw(t *testing.T) { rf.PeerAddr = net.IPv6linklocalallrouters rf.LinkAddr = net.IPv6interfacelocalallnodes rf.AddOption(OptInterfaceID(nil)) - rf.AddOption(&OptRemoteID{}) // create the inner message s, err := NewMessage() @@ -109,7 +108,6 @@ func TestNewRelayRepFromRelayForw(t *testing.T) { require.Equal(t, relay.PeerAddr, rf.PeerAddr) require.Equal(t, relay.LinkAddr, rf.LinkAddr) require.NotNil(t, rr.GetOneOption(OptionInterfaceID)) - require.NotNil(t, rr.GetOneOption(OptionRemoteID)) m, err := relay.GetInnerMessage() require.NoError(t, err) require.Equal(t, m, a) |