diff --git a/modules/netstat/netstat_darwin.go b/modules/netstat/netstat_darwin.go index 1ef97e1f..0fdbbdd9 100644 --- a/modules/netstat/netstat_darwin.go +++ b/modules/netstat/netstat_darwin.go @@ -173,3 +173,9 @@ func HasListeningPort(port string) (found bool, elements []element, err error) { err = fmt.Errorf("HasListeningPort() is not implemented on %s", runtime.GOOS) return } + +func HasSeenIP(val string) (found bool, elements []element, err error) { + // XXX Currently not implemented for darwin. + err = fmt.Errorf("HasSeenIP(): operation is not implemented on darwin") + return +} diff --git a/modules/netstat/netstat_windows.go b/modules/netstat/netstat_windows.go index d326b5e0..00d37203 100644 --- a/modules/netstat/netstat_windows.go +++ b/modules/netstat/netstat_windows.go @@ -72,3 +72,9 @@ func HasListeningPort(port string) (found bool, elements []element, err error) { err = fmt.Errorf("HasListeningPort() is not implemented on %s", runtime.GOOS) return } + +func HasSeenIP(val string) (found bool, elements []element, err error) { + // XXX Currently not implemented for windows. + err = fmt.Errorf("HasSeenIP(): operation is not implemented on windows") + return +}