summaryrefslogtreecommitdiffstats
path: root/libgo/go/net/interface_netbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/interface_netbsd.go')
-rw-r--r--libgo/go/net/interface_netbsd.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/libgo/go/net/interface_netbsd.go b/libgo/go/net/interface_netbsd.go
new file mode 100644
index 00000000000..4150e9ad5d1
--- /dev/null
+++ b/libgo/go/net/interface_netbsd.go
@@ -0,0 +1,14 @@
+// Copyright 2011 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Network interface identification for NetBSD
+
+package net
+
+// If the ifindex is zero, interfaceMulticastAddrTable returns
+// addresses for all network interfaces. Otherwise it returns
+// addresses for a specific interface.
+func interfaceMulticastAddrTable(ifindex int) ([]Addr, error) {
+ return nil, nil
+}
OpenPOWER on IntegriCloud