summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_ips.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_ips.go')
-rw-r--r--dhcpv4/option_ips.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/dhcpv4/option_ips.go b/dhcpv4/option_ips.go
index 693d62d..2a43dcf 100644
--- a/dhcpv4/option_ips.go
+++ b/dhcpv4/option_ips.go
@@ -62,13 +62,6 @@ func GetIPs(code OptionCode, o Options) []net.IP {
return []net.IP(ips)
}
-// GetRouter parses the DHCPv4 Router option if present.
-//
-// The Router option is described by RFC 2132, Section 3.5.
-func GetRouter(o Options) []net.IP {
- return GetIPs(OptionRouter, o)
-}
-
// OptRouter returns a new DHCPv4 Router option.
//
// The Router option is described by RFC 2132, Section 3.5.
@@ -84,13 +77,6 @@ func WithRouter(routers ...net.IP) Modifier {
return WithOption(OptRouter(routers...))
}
-// GetNTPServers parses the DHCPv4 NTP Servers option if present.
-//
-// The NTP servers option is described by RFC 2132, Section 8.3.
-func GetNTPServers(o Options) []net.IP {
- return GetIPs(OptionNTPServers, o)
-}
-
// OptNTPServers returns a new DHCPv4 NTP Server option.
//
// The NTP servers option is described by RFC 2132, Section 8.3.
@@ -101,13 +87,6 @@ func OptNTPServers(ntpServers ...net.IP) Option {
}
}
-// GetDNS parses the DHCPv4 Domain Name Server option if present.
-//
-// The DNS server option is described by RFC 2132, Section 3.8.
-func GetDNS(o Options) []net.IP {
- return GetIPs(OptionDomainNameServer, o)
-}
-
// OptDNS returns a new DHCPv4 Domain Name Server option.
//
// The DNS server option is described by RFC 2132, Section 3.8.