main.c (3599da158e392ed1dd86bd3363d8bd014cf4da08) main.c (9f44a47fd07924afc035991af15d84e6585dea4f)
1/*-
2 * Copyright (c) 2002-2003,2010 Luigi Rizzo
3 * Copyright (c) 1996 Alex Nash, Paul Traina, Poul-Henning Kamp
4 * Copyright (c) 1994 Ugen J.S.Antsilevich
5 *
6 * Idea and grammar partially left from:
7 * Copyright (c) 1993 Daniel Boulet
8 *

--- 263 unchanged lines hidden (view full) ---

272 }
273#endif
274
275 /* Save arguments for final freeing of memory. */
276 save_av = av;
277
278 optind = optreset = 1; /* restart getopt() */
279 if (is_ipfw()) {
1/*-
2 * Copyright (c) 2002-2003,2010 Luigi Rizzo
3 * Copyright (c) 1996 Alex Nash, Paul Traina, Poul-Henning Kamp
4 * Copyright (c) 1994 Ugen J.S.Antsilevich
5 *
6 * Idea and grammar partially left from:
7 * Copyright (c) 1993 Daniel Boulet
8 *

--- 263 unchanged lines hidden (view full) ---

272 }
273#endif
274
275 /* Save arguments for final freeing of memory. */
276 save_av = av;
277
278 optind = optreset = 1; /* restart getopt() */
279 if (is_ipfw()) {
280 while ((ch = getopt(ac, av, "abcdDefhinNp:qs:STtv")) != -1)
280 while ((ch = getopt(ac, av, "abcdDefhinNp:qs:STtvx")) != -1)
281 switch (ch) {
282 case 'a':
283 do_acct = 1;
284 break;
285
286 case 'b':
287 g_co.comment_only = 1;
288 g_co.do_compact = 1;

--- 60 unchanged lines hidden (view full) ---

349 case 'T':
350 g_co.do_time = TIMESTAMP_NUMERIC;
351 break;
352
353 case 'v': /* verbose */
354 g_co.verbose = 1;
355 break;
356
281 switch (ch) {
282 case 'a':
283 do_acct = 1;
284 break;
285
286 case 'b':
287 g_co.comment_only = 1;
288 g_co.do_compact = 1;

--- 60 unchanged lines hidden (view full) ---

349 case 'T':
350 g_co.do_time = TIMESTAMP_NUMERIC;
351 break;
352
353 case 'v': /* verbose */
354 g_co.verbose = 1;
355 break;
356
357 case 'x': /* debug output */
358 g_co.debug_only = 1;
359 break;
360
357 default:
358 free(save_av);
359 return 1;
360 }
361 } else {
362 while ((ch = getopt(ac, av, "hns:v")) != -1)
363 switch (ch) {
364

--- 346 unchanged lines hidden ---
361 default:
362 free(save_av);
363 return 1;
364 }
365 } else {
366 while ((ch = getopt(ac, av, "hns:v")) != -1)
367 switch (ch) {
368

--- 346 unchanged lines hidden ---