diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-08-15 14:14:19 +0100 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-08-15 14:14:19 +0100 |
commit | a8edbc5bd469e0595110c2dcf8d695d955323b24 (patch) | |
tree | 07b305d81c0c8cfa14bc6b9fd107b973eff3d2e5 /dhcpv6 | |
parent | de987a05eec1b93526f241337b0da5f9c1c10582 (diff) |
NewRelayReplFromRelayForw: update error msg
Diffstat (limited to 'dhcpv6')
-rw-r--r-- | dhcpv6/dhcpv6relay.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/dhcpv6relay.go b/dhcpv6/dhcpv6relay.go index 070b17b..5c30bad 100644 --- a/dhcpv6/dhcpv6relay.go +++ b/dhcpv6/dhcpv6relay.go @@ -170,7 +170,7 @@ func NewRelayReplFromRelayForw(relayForw, msg DHCPv6) (DHCPv6, error) { optrid []Option ) if relayForw == nil { - return nil, errors.New("MessageTypeRelayForward cannot be nil") + return nil, errors.New("Relay message cannot be nil") } relay, ok := relayForw.(*DHCPv6Relay) if !ok { |