mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-30 13:29:13 +00:00
DhcpOption: implemented support for option 119 and 138.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
Technitium DNS Server
|
||||
Copyright (C) 2019 Shreyas Zare (shreyas@technitium.com)
|
||||
Copyright (C) 2022 Shreyas Zare (shreyas@technitium.com)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -102,7 +102,9 @@ namespace DnsServerCore.Dhcp
|
||||
StreetTalkServer = 75,
|
||||
StreetTalkDirectoryAssistance = 76,
|
||||
ClientFullyQualifiedDomainName = 81,
|
||||
DomainSearch = 119,
|
||||
ClasslessStaticRoute = 121,
|
||||
CAPWAPAccessControllerAddresses = 138,
|
||||
End = 255
|
||||
}
|
||||
|
||||
@@ -212,9 +214,15 @@ namespace DnsServerCore.Dhcp
|
||||
case DhcpOptionCode.ClientFullyQualifiedDomainName:
|
||||
return new ClientFullyQualifiedDomainNameOption(s);
|
||||
|
||||
case DhcpOptionCode.DomainSearch:
|
||||
return new DomainSearchOption(s);
|
||||
|
||||
case DhcpOptionCode.ClasslessStaticRoute:
|
||||
return new ClasslessStaticRouteOption(s);
|
||||
|
||||
case DhcpOptionCode.CAPWAPAccessControllerAddresses:
|
||||
return new CAPWAPAccessControllerOption(s);
|
||||
|
||||
case DhcpOptionCode.Pad:
|
||||
case DhcpOptionCode.End:
|
||||
return new DhcpOption(optionCode);
|
||||
|
||||
Reference in New Issue
Block a user