From 664c04d37abac5eea444ce3987333e4c041126cc Mon Sep 17 00:00:00 2001 From: Hu Jun Date: Mon, 31 Aug 2020 19:05:17 -0700 Subject: - fixed some test cases broken by this PR - add a space in OptionGeneric.String() - move the indenting "\n" from OptionHumanizer.Stringify to RelayOptions.String() Signed-off-by: Hu Jun --- dhcpv4/option_relay_agent_information.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhcpv4/option_relay_agent_information.go') diff --git a/dhcpv4/option_relay_agent_information.go b/dhcpv4/option_relay_agent_information.go index 175bdb6..a6a2c34 100644 --- a/dhcpv4/option_relay_agent_information.go +++ b/dhcpv4/option_relay_agent_information.go @@ -21,7 +21,7 @@ var relayHumanizer = OptionHumanizer{ // String prints the contained options using Relay Agent-specific option code parsing. func (r RelayOptions) String() string { - return r.Options.ToString(relayHumanizer) + return "\n" + r.Options.ToString(relayHumanizer) } // FromBytes parses relay agent options from data. -- cgit v1.2.3