summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/dhcpv6.go
diff options
context:
space:
mode:
authorChristopher Koch <chrisko@google.com>2019-03-04 13:30:57 -0800
committerinsomniac <insomniacslk@users.noreply.github.com>2019-03-11 21:54:10 -0700
commit509f500742c67a3fbfa009df77986fb0977ad5f0 (patch)
treee91b5594fd0f191242a29d0ef154fc07d004948a /dhcpv6/dhcpv6.go
parentafbaa1460f929a04c6e198b387174e70f0f9c903 (diff)
dhcpv6: standardize GetInnerMessage
Diffstat (limited to 'dhcpv6/dhcpv6.go')
-rw-r--r--dhcpv6/dhcpv6.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpv6/dhcpv6.go b/dhcpv6/dhcpv6.go
index 3c5e193..c8c4292 100644
--- a/dhcpv6/dhcpv6.go
+++ b/dhcpv6/dhcpv6.go
@@ -16,6 +16,8 @@ type DHCPv6 interface {
String() string
Summary() string
IsRelay() bool
+ GetInnerMessage() (*Message, error)
+
GetOption(code OptionCode) []Option
GetOneOption(code OptionCode) Option
AddOption(Option)