implement confirmation/rollback for --shell --interactive
commit4486fbe4efab019e847d8c875980442854b76050
authorMax Kellermann <max@duempel.org>
Thu, 18 Feb 2010 21:22:00 +0000 (18 22:22 +0100)
committerMax Kellermann <max@duempel.org>
Thu, 18 Feb 2010 21:47:09 +0000 (18 22:47 +0100)
tree04d72b1f7f4fb27b55ceb3cb83bc292e83a9eff0
parent3a4fe9dc2289fe554d2760204ba9491f3e05cb3a
implement confirmation/rollback for --shell --interactive

This implementation is somewhat flawed, because it does not check
whether iptables-restore was really successful.  And requiring the
user to press Ctrl-C to confirm seems a little bit awkward.  But it's
simple and it works (most of the time).
NEWS
src/ferm