1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/net/gnomenetwork/files/patch-gnome-netinfo_netstat.h

15 lines
573 B
C
Raw Normal View History

--- 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