aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mtest/mtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mtest/mtest.c')
-rw-r--r--usr.sbin/mtest/mtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mtest/mtest.c b/usr.sbin/mtest/mtest.c
index a28fab770e2a..af522e219104 100644
--- a/usr.sbin/mtest/mtest.c
+++ b/usr.sbin/mtest/mtest.c
@@ -396,6 +396,7 @@ process_cmd(char *cmd, int s, int s6, FILE *fp __unused)
while (isblank(*++line))
; /* Skip whitespace. */
+ n = 0;
switch (*cmd) {
case '?':
usage();
@@ -611,7 +612,6 @@ process_cmd(char *cmd, int s, int s6, FILE *fp __unused)
}
/* First determine our current filter mode. */
- n = 0;
if (getsourcefilter(af2sock(af, s, s6), ifindex,
&su.sa, su.sa.sa_len, &fmode, &n, NULL) != 0) {
warn("getsourcefilter");