diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-11-12 13:37:38 +0000 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-11-12 13:37:38 +0000 |
commit | 5ee47520014b0835b58e3624381e01bdf14ef9ba (patch) | |
tree | 2e5fcb245ae6078a03e6f415221b184476ff1aee | |
parent | f5c1950747619f12256e39e69b9a2a9ec6168d04 (diff) |
OptRelayAgentInformation: increase coverage
-rw-r--r-- | dhcpv4/option_relay_agent_information_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/option_relay_agent_information_test.go b/dhcpv4/option_relay_agent_information_test.go index 88cb39a..1e99206 100644 --- a/dhcpv4/option_relay_agent_information_test.go +++ b/dhcpv4/option_relay_agent_information_test.go @@ -27,7 +27,7 @@ func TestParseOptRelayAgentInformation(t *testing.T) { require.Error(t, err) // short sub-option bytes - opt, err = ParseOptRelayAgentInformation([]byte{82, 1, 1}) + opt, err = ParseOptRelayAgentInformation([]byte{82, 3, 1, 0, 1}) require.Error(t, err) // short sub-option length |