svn commit: r337536 - head/sbin/ipfw

Andrey V. Elsukov bu7cher at yandex.ru
Thu Aug 9 14:33:18 UTC 2018


On 09.08.2018 17:28, Rodney W. Grimes wrote:
>> Author: ae
>> Date: Thu Aug  9 12:46:30 2018
>> New Revision: 337536
>> URL: https://svnweb.freebsd.org/changeset/base/337536
>>
>> Log:
>>   If -q flag is specified, do not complain when we are trying to delete
>>   nonexistent NAT instance or nonexistent rule.
> 
> It would probably be better to not overload -q with what is
> usually a -f like functionality of a command.  Sadly -f is
> already used in ipfw, so another option should be choosen.
> 
>>   This allows execute batched `delete` commands and do not fail when
>>   found nonexistent rule.
> 
> So now I can not code a quiet ipfw command that does fail when
> I give it a bad delete command :-(.

Previously -q did not handled by delete command, so you can just use bad
"ipfw delete" without -q :)

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20180809/575e94f5/attachment.sig>


More information about the svn-src-all mailing list