OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   16-Nov-2005 14:37:59
  Branch: HEAD                             Handle: 2005111613375900

  Modified files:
    openpkg-src/openser     openser.cfg rc.openser

  Log:
    fix default config and config check

  Summary:
    Revision    Changes     Path
    1.3         +3  -3      openpkg-src/openser/openser.cfg
    1.3         +1  -1      openpkg-src/openser/rc.openser
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openser/openser.cfg
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 openser.cfg
  --- openpkg-src/openser/openser.cfg   16 Nov 2005 13:26:13 -0000      1.2
  +++ openpkg-src/openser/openser.cfg   16 Nov 2005 13:37:59 -0000      1.3
  @@ -176,7 +176,7 @@
       #};
                                                           
       #   NAT: processing of replies; apply to all transactions
  -    t_on_reply("1");
  +    #t_on_reply("1");
                                                                           
       #   send it out now; use stateful forwarding as it works reliably even 
for UDP2TCP
       if (!t_relay()) {
  @@ -184,7 +184,7 @@
       };
   }
   
  -onreply_route[1] {
  +#onreply_route[1] {
       #   NAT: is it a NAT'ed transaction ?
       #   otherwise, is it a transaction behind a NAT and we did not
       #   know at time of request processing ? (RFC1918 contacts)
  @@ -194,5 +194,5 @@
       #} else if (nat_uac_test("1")) {
       #    fix_nated_contact();
       #};
  -}
  +#}
   
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openser/rc.openser
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 rc.openser
  --- openpkg-src/openser/rc.openser    16 Nov 2005 13:26:13 -0000      1.2
  +++ openpkg-src/openser/rc.openser    16 Nov 2005 13:37:59 -0000      1.3
  @@ -26,7 +26,7 @@
   %status -u @l_susr@ -o
       openser_usable="no"
       openser_active="no"
  -    if [ "[EMAIL PROTECTED]@/sbin/openser -c 2>/dev/null | grep 'config file 
ok'`" != . ]; then
  +    if @l_prefix@/sbin/openser -c >/dev/null 2>&1; then
           openser_usable="yes"
       fi
       if @l_prefix@/sbin/openserctl ps >/dev/null 2>&1; then
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to