]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337536:
authorae <ae@FreeBSD.org>
Thu, 23 Aug 2018 13:07:22 +0000 (13:07 +0000)
committerae <ae@FreeBSD.org>
Thu, 23 Aug 2018 13:07:22 +0000 (13:07 +0000)
commit85b35c2cf33526af665e19eb23fd512a43075efe
tree3463ada7e0afb447ada3d5ce31976bf0bebc8eed
parent70ce85193071655cf67f33e4d7bbbe76e262e5aa
MFC r337536:
  If -q flag is specified, do not complain when we are trying to delete
  nonexistent NAT instance or nonexistent rule.

  This allows execute batched `delete` commands and do not fail when
  found nonexistent rule.

MFC r337574:
  Restore the behaviour changed in r337536, when bad `ipfw delete` command
  returns error.

  Now -q option only makes it quiet. And when -f flag is specified, the
  command will ignore errors and continue executing with next batched
  command.

Obtained from: Yandex LLC
Sponsored by: Yandex LLC
sbin/ipfw/ipfw.8
sbin/ipfw/ipfw2.c