diff options
Diffstat (limited to 'dhcpv6/nclient6/client.go')
-rw-r--r-- | dhcpv6/nclient6/client.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/dhcpv6/nclient6/client.go b/dhcpv6/nclient6/client.go index 8b338db..5c18685 100644 --- a/dhcpv6/nclient6/client.go +++ b/dhcpv6/nclient6/client.go @@ -30,11 +30,6 @@ var ( } ) -const ( - maxUDPReceivedPacketSize = 8192 - maxMessageSize = 1500 -) - var ( // ErrNoResponse is returned when no response packet is received. ErrNoResponse = errors.New("no matching response packet received") @@ -204,12 +199,6 @@ func (c *Client) receiveLoop() { // ClientOpt is a function that configures the Client. type ClientOpt func(*Client) -func withBufferCap(n int) ClientOpt { - return func(c *Client) { - c.bufferCap = n - } -} - // WithTimeout configures the retransmission timeout. // // Default is 5 seconds. |