From 9a8ccef36cdb8cf3f6a6b229be70ff03b78e86ab Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 14 Jul 2011 19:13:06 -0600 Subject: [PATCH] 03d was nice for sorting, but bad for inet_aton --- p4split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p4split.c b/p4split.c index 73e64e9..4689688 100644 --- a/p4split.c +++ b/p4split.c @@ -109,7 +109,7 @@ main(int argc, char *argv[]) char fn[9]; FILE *f; - sprintf(fn, "%03d.pcap", octet); + sprintf(fn, "%d.pcap", octet); if (NULL == (f = fopen(fn, "wb"))) break; if (-1 == pcap_open_out(&out[octet], f)) break;