summaryrefslogtreecommitdiffhomepage
path: root/examples/everythingmessage
diff options
context:
space:
mode:
authorChris Koch <chrisko@google.com>2023-02-18 14:24:41 -0800
committerChris K <c@chrisko.ch>2023-02-18 23:57:24 -0800
commit573052511f5790667b95f4a801f7ed0680a66a83 (patch)
tree3df91debad2b6976b0773c6f0e8904d26b8631ac /examples/everythingmessage
parent8b3544ec108e0a730423f0027d03ac80e4b08ad0 (diff)
Consistent short string messages
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'examples/everythingmessage')
-rw-r--r--examples/everythingmessage/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/everythingmessage/main.go b/examples/everythingmessage/main.go
index 38855dd..4c68a72 100644
--- a/examples/everythingmessage/main.go
+++ b/examples/everythingmessage/main.go
@@ -81,6 +81,7 @@ func main() {
dhcpv6.WithOption(&dhcpv6.OptVendorClass{EnterpriseNumber: 300, Data: [][]byte{[]byte("foo"), []byte("bar")}}),
dhcpv6.WithOption(vendorOpts),
)
+ fmt.Println(adv.String())
fmt.Println(adv.Summary())
relayfw := dhcpv6.RelayMessage{
@@ -91,5 +92,6 @@ func main() {
EnterpriseNumber: 0x123,
RemoteID: []byte{0x1, 0x2},
})
+ fmt.Println(relayfw.String())
fmt.Println(relayfw.Summary())
}