summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/async
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/async')
-rw-r--r--dhcpv6/async/client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv6/async/client.go b/dhcpv6/async/client.go
index c574208..7a8b9ec 100644
--- a/dhcpv6/async/client.go
+++ b/dhcpv6/async/client.go
@@ -25,7 +25,7 @@ type Client struct {
receiveQueue chan dhcpv6.DHCPv6
sendQueue chan dhcpv6.DHCPv6
packetsLock sync.Mutex
- packets map[uint32]*promise.Promise
+ packets map[dhcpv6.TransactionID]*promise.Promise
errors chan error
}
@@ -69,7 +69,7 @@ func (c *Client) Open(bufferSize int) error {
c.stopping = new(sync.WaitGroup)
c.sendQueue = make(chan dhcpv6.DHCPv6, bufferSize)
c.receiveQueue = make(chan dhcpv6.DHCPv6, bufferSize)
- c.packets = make(map[uint32]*promise.Promise)
+ c.packets = make(map[dhcpv6.TransactionID]*promise.Promise)
c.packetsLock = sync.Mutex{}
c.errors = make(chan error)