From: Benny Siegert Date: Tue, 28 Feb 2012 00:28:10 +0000 (+1100) Subject: net: add stubs for NetBSD X-Git-Tag: weekly.2012-03-04~119 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=740d5038667d385f99eb42d54381b330390f0417;p=gostls13.git net: add stubs for NetBSD This fixes the build of package net for GOOS=NetBSD. Of course, a real implementation would be even better. R=golang-dev, r CC=golang-dev https://golang.org/cl/5693065 --- diff --git a/src/pkg/net/sockoptip_netbsd.go b/src/pkg/net/sockoptip_netbsd.go new file mode 100644 index 0000000000..ccb9697cfb --- /dev/null +++ b/src/pkg/net/sockoptip_netbsd.go @@ -0,0 +1,15 @@ +// Copyright 2012 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. + +// +build netbsd + +package net + +func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error { + panic("unimplemented") +} + +func setIPv4MulticastLoopback(fd *netFD, v bool) error { + panic("unimplemented") +}