summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/bindtointerface.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/bindtointerface.go')
-rw-r--r--dhcpv4/bindtointerface.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/dhcpv4/bindtointerface.go b/dhcpv4/bindtointerface.go
new file mode 100644
index 0000000..dbe8fbc
--- /dev/null
+++ b/dhcpv4/bindtointerface.go
@@ -0,0 +1,10 @@
+package dhcpv4
+
+import (
+ "github.com/insomniacslk/dhcp/interfaces"
+)
+
+// BindToInterface (deprecated) redirects to interfaces.BindToInterface
+func BindToInterface(fd int, ifname string) error {
+ return interfaces.BindToInterface(fd, ifname)
+}