On 10/30/2015 03:41 PM, Tom Eastep wrote: > > Please give the attached patch a try, Matt. >
Hi Matt, You may also need this one on top of the last one. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
commit 27d94c8921e90c92d42fd2c2e4d2c94390b897ff Author: Tom Eastep <[email protected]> Date: Sat Oct 31 08:31:46 2015 -0700 Improve check for circular log buffer Signed-off-by: Tom Eastep <[email protected]> diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index a1abfb5..1af8eb3 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -158,16 +158,20 @@ syslog_circular_buffer() { case $path in syslogd|*/syslogd) for arg in $args; do - if [ x$arg = x-C ]; then - return 0 - fi + case $arg in + -C*) + return 0 + ;; + esac done ;; logd|*/logd) for arg in $args; do - if [ x$arg = x-S ]; then - return 0 - fi + case $arg in + -S*) + return 0 + ;; + esac done ;; esac
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
