main.c (227489) | main.c (228871) |
---|---|
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 * 9 * Redistribution and use in source forms, with and without modification, 10 * are permitted provided that this entire comment appears intact. 11 * 12 * Redistribution in binary form may occur without any restrictions. 13 * Obviously, it would be nice if you gave credit where credit is due 14 * but requiring it would be too onerous. 15 * 16 * This software is provided ``AS IS'' without any warranties of any kind. 17 * 18 * Command line interface for IP firewall facility 19 * | 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 * 9 * Redistribution and use in source forms, with and without modification, 10 * are permitted provided that this entire comment appears intact. 11 * 12 * Redistribution in binary form may occur without any restrictions. 13 * Obviously, it would be nice if you gave credit where credit is due 14 * but requiring it would be too onerous. 15 * 16 * This software is provided ``AS IS'' without any warranties of any kind. 17 * 18 * Command line interface for IP firewall facility 19 * |
20 * $FreeBSD: head/sbin/ipfw/main.c 227489 2011-11-13 17:06:33Z eadler $ | 20 * $FreeBSD: head/sbin/ipfw/main.c 228871 2011-12-24 22:37:27Z eadler $ |
21 */ 22 23#include <sys/wait.h> 24#include <ctype.h> 25#include <err.h> 26#include <errno.h> 27#include <signal.h> 28#include <stdio.h> --- 275 unchanged lines hidden (view full) --- 304 305 case 'N': 306 co.do_resolv = 1; 307 break; 308 309 case 'p': 310 errx(EX_USAGE, "An absolute pathname must be used " 311 "with -p option."); | 21 */ 22 23#include <sys/wait.h> 24#include <ctype.h> 25#include <err.h> 26#include <errno.h> 27#include <signal.h> 28#include <stdio.h> --- 275 unchanged lines hidden (view full) --- 304 305 case 'N': 306 co.do_resolv = 1; 307 break; 308 309 case 'p': 310 errx(EX_USAGE, "An absolute pathname must be used " 311 "with -p option."); |
312 /* NOTREACHED */ |
|
312 313 case 'q': 314 co.do_quiet = 1; 315 break; 316 317 case 's': /* sort */ 318 co.do_sort = atoi(optarg); 319 break; --- 304 unchanged lines hidden --- | 313 314 case 'q': 315 co.do_quiet = 1; 316 break; 317 318 case 's': /* sort */ 319 co.do_sort = atoi(optarg); 320 break; --- 304 unchanged lines hidden --- |