git://git.onelab.eu
/
vsys-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ad23596
)
Store the timeout value in seconds.
author
Marta Carbone
<marta@prova.iet.unipi.it>
Wed, 16 Dec 2009 17:18:40 +0000
(17:18 +0000)
committer
Marta Carbone
<marta@prova.iet.unipi.it>
Wed, 16 Dec 2009 17:18:40 +0000
(17:18 +0000)
exec/ipfw-be
patch
|
blob
|
history
diff --git
a/exec/ipfw-be
b/exec/ipfw-be
index
8694e44
..
ff1e765
100755
(executable)
--- a/
exec/ipfw-be
+++ b/
exec/ipfw-be
@@
-325,7
+325,7
@@
process() {
check_timeout ${timeout} # abort on error
args=`echo ${args} | ${SED} ${SEDOPT} 's/(.+)( -t [a-zA-Z0-9]+ )(.*)/\1 \3/'`
else
- timeout=
1day
# default to 1 day
+ timeout=
`date --date="1day" +%s`
# default to 1 day
fi
debug "Timeout $timeout"