summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/options.go
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-07-30 10:42:41 +0200
committerPablo Mazzini <pmazzini@gmail.com>2018-07-30 10:42:41 +0200
commit74f2ee0b2fc6af0602360c563490c0b140f98b9e (patch)
tree202591dcdfce6759d1d1f2276fa7ed96011b23c2 /dhcpv4/options.go
parentb1289a39b521aa6ce714af91bab9f8104e5cc002 (diff)
add OptIPAddressLeaseTime
Diffstat (limited to 'dhcpv4/options.go')
-rw-r--r--dhcpv4/options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpv4/options.go b/dhcpv4/options.go
index 4224fa0..760bc98 100644
--- a/dhcpv4/options.go
+++ b/dhcpv4/options.go
@@ -46,6 +46,8 @@ func ParseOption(data []byte) (Option, error) {
opt, err = ParseOptRouter(data)
case OptionRequestedIPAddress:
opt, err = ParseOptRequestedIPAddress(data)
+ case OptionIPAddressLeaseTime:
+ opt, err = ParseOptIPAddressLeaseTime(data)
case OptionDHCPMessageType:
opt, err = ParseOptMessageType(data)
case OptionParameterRequestList: