diff options
Diffstat (limited to 'vendor/github.com/google/gopacket/routing/other.go')
-rw-r--r-- | vendor/github.com/google/gopacket/routing/other.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/google/gopacket/routing/other.go b/vendor/github.com/google/gopacket/routing/other.go new file mode 100644 index 0000000..b53fea9 --- /dev/null +++ b/vendor/github.com/google/gopacket/routing/other.go @@ -0,0 +1,15 @@ +// Copyright 2012 Google, Inc. All rights reserved. +// +// Use of this source code is governed by a BSD-style license +// that can be found in the LICENSE file in the root of the source +// tree. + +// +build !linux + +// Package routing is currently only supported in Linux, but the build system requires a valid go file for all architectures. + +package routing + +func New() (Router, error) { + panic("router only implemented in linux") +} |