summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-09 17:36:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-09 17:36:36 +0000
commit1b4ce0a815fc8797fea93f225a0234d283e20a67 (patch)
tree61ba6c81b25fb74898ec5eb571c920c79f7da199
parentf4cb5a648d16a5e97eb1d655a75344b38388e083 (diff)
Formerly proc.c.~2~
-rw-r--r--pfinet/linux-inet/proc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pfinet/linux-inet/proc.c b/pfinet/linux-inet/proc.c
index 855dde3f..aab1cfc3 100644
--- a/pfinet/linux-inet/proc.c
+++ b/pfinet/linux-inet/proc.c
@@ -152,7 +152,9 @@ int afinet_get_info(char *buffer, char **start, off_t offset, int length)
{
/* From net/socket.c */
extern int socket_get_info(char *, char **, off_t, int);
+#ifndef _HURD_
extern struct proto packet_prot;
+#endif
int len = socket_get_info(buffer,start,offset,length);
@@ -163,8 +165,10 @@ int afinet_get_info(char *buffer, char **start, off_t offset, int length)
udp_prot.inuse, udp_prot.highestinuse);
len += sprintf(buffer+len,"RAW: inuse %d highest %d\n",
raw_prot.inuse, raw_prot.highestinuse);
+#ifndef _HURD_
len += sprintf(buffer+len,"PAC: inuse %d highest %d\n",
packet_prot.inuse, packet_prot.highestinuse);
+#endif
*start = buffer + offset;
len -= offset;
if (len > length)