summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-02-03 18:04:46 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2010-02-03 18:04:46 -0800
commit35c5ec41bc01206a2e7616dfc818ca02d887647f (patch)
treeec720bd34b11c9f4f0cb239feec127143458b204 /scripts
parent61a05bd7b98baa3b36c742452b192a49ba5b2a12 (diff)
downloadvyatta-op-35c5ec41bc01206a2e7616dfc818ca02d887647f.tar.gz
vyatta-op-35c5ec41bc01206a2e7616dfc818ca02d887647f.zip
clear expect table as well
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-clear-conntrack3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vyatta-clear-conntrack b/scripts/vyatta-clear-conntrack
index 690e0a4..20f57e9 100644
--- a/scripts/vyatta-clear-conntrack
+++ b/scripts/vyatta-clear-conntrack
@@ -55,11 +55,12 @@ get_response () {
response=''
while [ -z "$response" ]
do
- echo -ne "\nThis will clear all currently tracked connections. Continue? (Y/N) [N]: "
+ echo -ne "\nThis will clear all currently tracked and expected connections. Continue? (Y/N) [N]: "
response=$(get_response "N" "Y N")
if [ "$response" == "n" ]; then
exit 1
else
sudo /usr/sbin/conntrack -F
+ sudo /usr/sbin/conntrack -F expect
fi
done