1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/net/gnomenetwork/files/patch-gnome-netinfo_netstat.h
Joe Marcus Clarke b3fb0c72c0 Add gnomenetwork, a suite of tools that allow for remote desktop connections,
SSH, and RSH shells, as well as a network information tool similar to MacOS
X's Netinfo.
2004-01-03 08:29:37 +00:00

15 lines
573 B
C

--- gnome-netinfo/netstat.h.orig Sun Jul 20 22:31:57 2003
+++ gnome-netinfo/netstat.h Sun Dec 7 01:32:10 2003
@@ -28,6 +28,11 @@
# define NETSTAT_PROTOCOL_FORMAT "%s %d %d %s %s %s %s %s"
# define NETSTAT_ROUTE_FORMAT "%s %s %s %s %d %d %d %s"
# define NETSTAT_MULTICAST_FORMAT "%s %d %s"
+#elif defined(__FreeBSD__)
+# define NETSTAT_PROTOCOL_FORMAT "%s %d %d %d.%d.%d.%d.%s %s %s"
+# define ALT_NETSTAT_PROTOCOL_FORMAT "%s %d %d *.%s %s %s"
+# define NETSTAT_ROUTE_FORMAT "%s %s %s %d %d %s"
+# define NETSTAT_MULTICAST_FORMAT "%s %d %s"
#endif