summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/options/options.go
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2017-12-07 00:56:15 +0000
committerAndrea Barberio <insomniac@slackware.it>2017-12-07 00:56:15 +0000
commit042bb4b29f75f9bd9a971a71091d47d110303be6 (patch)
tree59e99a40272391cbb820054d94afa6f25258d4b7 /dhcpv6/options/options.go
parentf5d849e1e72d2b92136eadc66a82cad83f8bac91 (diff)
Added RelayMsg basic parsing
Diffstat (limited to 'dhcpv6/options/options.go')
-rw-r--r--dhcpv6/options/options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpv6/options/options.go b/dhcpv6/options/options.go
index 6b587dd..2eeaa44 100644
--- a/dhcpv6/options/options.go
+++ b/dhcpv6/options/options.go
@@ -88,6 +88,8 @@ func ParseOption(dataStart []byte) (Option, error) {
opt, err = ParseOptIAPrefix(optData)
case OPTION_STATUS_CODE:
opt, err = ParseOptStatusCode(optData)
+ case OPTION_RELAY_MSG:
+ opt, err = ParseOptRelayMsg(optData)
default:
opt = &OptionGeneric{OptionCode: code, OptionData: optData}
}