diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-14 20:20:55 +0200 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-07-14 20:20:55 +0200 |
commit | 2ae16808e62447f746632531328742403c487b36 (patch) | |
tree | 67d0653e08bee514fb4ce3724c53339c76640e8e | |
parent | df4f8587f7cec8f1550c7c9a5614ce9f923ed68e (diff) |
add missing file
-rw-r--r-- | dhcpv6/dhcpv6relay.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv6/dhcpv6relay.go b/dhcpv6/dhcpv6relay.go index eaebfc2..38f2994 100644 --- a/dhcpv6/dhcpv6relay.go +++ b/dhcpv6/dhcpv6relay.go @@ -151,7 +151,7 @@ func (d *DHCPv6Relay) GetInnerMessage() (DHCPv6, error) { if !p.IsRelay() { return p, nil } - p, err = DecapsulateRelay(p, 0) + p, err = DecapsulateRelay(p) if err != nil { return nil, err } @@ -186,7 +186,7 @@ func NewRelayReplFromRelayForw(relayForw, msg DHCPv6) (DHCPv6, error) { linkAddr = append(linkAddr, relay.LinkAddr()) peerAddr = append(peerAddr, relay.PeerAddr()) optiids = append(optiids, relay.GetOneOption(OPTION_INTERFACE_ID)) - decap, err := DecapsulateRelay(relay, 0) + decap, err := DecapsulateRelay(relay) if err != nil { return nil, err } |