aboutsummaryrefslogtreecommitdiff
path: root/contrib/ipfilter/tools/ipmon.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-01-28 05:50:04 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-02 01:19:15 +0000
commit0f34c80f376345b98a972940dd4757e58d7beb06 (patch)
treebc8c35f2adc454752069d4c9c3f14c55c70a2c9f /contrib/ipfilter/tools/ipmon.c
parent7071734fae6019d1e3e44daf7deb4478582081cc (diff)
downloadsrc-0f34c80f376345b98a972940dd4757e58d7beb06.tar.gz
src-0f34c80f376345b98a972940dd4757e58d7beb06.zip
Replace the redundant MENTAT macro with SOLARIS.
MENTAT and SOLARIS are synonymous. Remove the extraneous duplicate macro. MFC after: 1 week
Diffstat (limited to 'contrib/ipfilter/tools/ipmon.c')
-rw-r--r--contrib/ipfilter/tools/ipmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ipfilter/tools/ipmon.c b/contrib/ipfilter/tools/ipmon.c
index 005cd316f91a..f14cef832722 100644
--- a/contrib/ipfilter/tools/ipmon.c
+++ b/contrib/ipfilter/tools/ipmon.c
@@ -108,7 +108,7 @@ char *reasons[] = {
"natv6_in-fail",
};
-#ifdef MENTAT
+#if SOLARIS
static char *pidfile = "/etc/opt/ipf/ipmon.pid";
#else
static char *pidfile = "/var/run/ipmon.pid";
@@ -1108,7 +1108,7 @@ static void print_ipflog(conf, buf, blen)
ifname[sizeof(ipf->fl_ifname)] = '\0';
sprintf(t, "%s", ifname);
t += strlen(t);
-# if defined(MENTAT)
+# if SOLARIS
if (ISALPHA(*(t - 1))) {
sprintf(t, "%d", ipf->fl_unit);
t += strlen(t);