summaryrefslogtreecommitdiffstats
path: root/ax25/axctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25/axctl.c')
-rw-r--r--ax25/axctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ax25/axctl.c b/ax25/axctl.c
index 3d7c780..3b453c3 100644
--- a/ax25/axctl.c
+++ b/ax25/axctl.c
@@ -89,6 +89,8 @@ int main(int argc, char **argv)
else if (strcmp(argv[4], "-paclen") == 0)
ax25_ctl.cmd = AX25_PACLEN;
}
+
+ ax25_ctl.digi_count = 0;
if (ioctl(s, SIOCAX25CTLCON, &ax25_ctl) != 0) {
perror("axctl: SIOAX25CTLCON");