1
0
mirror of https://github.com/golang/go synced 2024-11-20 01:14:40 -07:00
go/src/pkg/net/interface_netbsd.go

16 lines
524 B
Go
Raw Normal View History

// 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) {
// TODO(mikio): Implement this like other platforms.
return nil, nil
}