Brian J. Murrell wrote: > On Thu, 2007-12-20 at 10:34 -0800, Tom Eastep wrote: >> Brian J. Murrell wrote: >>> On Thu, 2007-12-20 at 10:02 -0800, Tom Eastep wrote: >>>> Brian: If you modify /usr/share/shorewall-lite/lib.base using the attached >>>> patch, what does "shorewall-lite ipdecimal 176.16.0.0" print? >>> Same as without the patch: >>> >>> before_patch:# shorewall-lite ipdecimal 176.16.0.0 >>> 2953838592 >>> after_patch:# shorewall-lite ipdecimal 176.16.0.0 >>> 2953838592 >> Hmmm. >> >> At a shell prompt, please try this sequence of commands: >> >> foo=2953838592 >> foo=$((- $foo )) >> echo $foo >> foo=$((- $foo )) >> echo $foo > > # foo=2953838592 > # foo=$((- $foo )) > # echo $foo > -2953838592 > # foo=$((- $foo )) > # echo $foo > 2953838592 >
Ok -- one more test. What does this do? [ 16777216 -eq 2953838592 ] || echo foo -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users