diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-11-12 12:54:26 +0000 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-11-12 12:54:26 +0000 |
commit | 888609097f1aaea108ea2aebcb1d799688505944 (patch) | |
tree | 7db359f85c9dbffb2bf00fc0e8ea06fb881d5ce4 | |
parent | 42c46b5a6c407e515ca948fe5643e1258f80b280 (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 3395271..9146a24 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 length - opt, err = ParseOptRelayAgentInformation([]byte{82, 2, 2, 0}) + opt, err = ParseOptRelayAgentInformation([]byte{82, 2, 1, 1}) require.Error(t, err) opt, err = ParseOptRelayAgentInformation(data) |