aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipf/ipmon/ipmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipf/ipmon/ipmon.c')
-rw-r--r--sbin/ipf/ipmon/ipmon.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sbin/ipf/ipmon/ipmon.c b/sbin/ipf/ipmon/ipmon.c
index 1f3a81fa20f8..a07401ff5e88 100644
--- a/sbin/ipf/ipmon/ipmon.c
+++ b/sbin/ipf/ipmon/ipmon.c
@@ -13,10 +13,6 @@
#include <fcntl.h>
#include <signal.h>
-#if !defined(lint)
-static const char sccsid[] = "@(#)ipmon.c 1.21 6/5/96 (C)1993-2000 Darren Reed";
-static const char rcsid[] = "@(#)$Id$";
-#endif
#define STRERROR(x) strerror(x)
@@ -81,7 +77,8 @@ struct flags tcpfl[] = {
{ TH_URG, 'U' },
{ TH_PUSH,'P' },
{ TH_ECN, 'E' },
- { TH_CWR, 'C' },
+ { TH_CWR, 'W' },
+ { TH_AE, 'e' },
{ 0, '\0' }
};
@@ -582,7 +579,7 @@ dumphex(FILE *log, int dopts, char *buf, int len)
}
if ((j + 1) & 0xf)
- *t++ = ' ';;
+ *t++ = ' ';
}
if (j & 0xf) {
@@ -1200,7 +1197,7 @@ print_ipflog(config_t *conf, char *buf, int blen)
*t++ = ' ';
*t++ = '-';
for (i = 0; tcpfl[i].value; i++)
- if (tp->th_flags & tcpfl[i].value)
+ if (__tcp_get_flags(tp) & tcpfl[i].value)
*t++ = tcpfl[i].flag;
if (ipmonopts & IPMON_VERBOSE) {
sprintf(t, " %lu %lu %hu",