summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-11-12 12:54:26 +0000
committerPablo Mazzini <pmazzini@gmail.com>2018-11-12 12:54:26 +0000
commit888609097f1aaea108ea2aebcb1d799688505944 (patch)
tree7db359f85c9dbffb2bf00fc0e8ea06fb881d5ce4 /dhcpv4
parent42c46b5a6c407e515ca948fe5643e1258f80b280 (diff)
OptRelayAgentInformation: increase coverage
Diffstat (limited to 'dhcpv4')
-rw-r--r--dhcpv4/option_relay_agent_information_test.go2
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)