nate 927b7037cd Because 'ipfw flush' is such a dangerous command (given that most
firewalls are remote, and this command will kill the network connection
to them), prompt the user for confirmation of this command.

Also, add the '-f' flag which ignores the need for confirmation the
command, and if there is no controlling tty (isatty(STDIN_FILENO) !=0)
assume '-f'.

If anyone is using ipfw flush in scripts it shouldn't affect them, but you
may want to change the script to use a 'ipfw -f flush'.

Reviewed by:	alex
1996-08-31 17:58:23 +00:00
..
1996-04-09 11:31:34 +00:00
1996-08-23 01:06:24 +00:00
1996-08-09 22:44:55 +00:00
1996-07-23 01:18:47 +00:00
1996-05-12 11:12:17 +00:00
1996-08-23 20:36:11 +00:00
1996-08-20 20:49:39 +00:00
1996-08-23 00:57:08 +00:00
1995-05-30 06:12:45 +00:00
1996-05-19 17:24:10 +00:00