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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   14-Oct-2004 10:19:00
  Branch: HEAD                             Handle: 2004101409185900

  Modified files:
    openpkg-src/vrrpd       vrrpd.patch vrrpd.spec

  Log:
    second attempt: seems like we have to increase the delay, too

  Summary:
    Revision    Changes     Path
    1.2         +9  -7      openpkg-src/vrrpd/vrrpd.patch
    1.31        +1  -0      openpkg-src/vrrpd/vrrpd.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/vrrpd/vrrpd.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 vrrpd.patch
  --- openpkg-src/vrrpd/vrrpd.patch     14 Oct 2004 08:13:29 -0000      1.1
  +++ openpkg-src/vrrpd/vrrpd.patch     14 Oct 2004 08:18:59 -0000      1.2
  @@ -1,18 +1,20 @@
   5sec (= 5*100000usec) is too less for usual host/switch combinations
   (especially if spanning-tree is performed on the switch port, etc),
  -so increase this to 40sec (= 40*100000usec) because performing
  +so increase this to 40sec (= 8*500000usec) because performing
   spanning-tree algorithm on a switch port requires usually about 30sec
   maximum.
   
   Index: vrrp_define.h
  ---- vrrp_define.h.orig       2004-10-14 10:08:54 +0200
  -+++ vrrp_define.h    2004-10-14 10:09:54 +0200
  -@@ -53,7 +53,7 @@
  +--- vrrp_define.h.orig       2003-01-30 12:50:55 +0100
  ++++ vrrp_define.h    2004-10-14 10:17:40 +0200
  +@@ -52,8 +52,8 @@
  + #define VRRP_DEFAULT_ADV_INT 1
    #define VRRP_PROTOCOL_MAX_VRID 255
  - #define VRRP_CONF_FILE_NAME "/openpkg-dev/etc/vrrpd/vrrpd.conf"
  - #define VRRP_MONCIRCUIT_MONDELAY 1000000
  + #define VRRP_CONF_FILE_NAME "/usr/local/etc/freevrrpd.conf"
  +-#define VRRP_MONCIRCUIT_MONDELAY 1000000
   -#define VRRP_MONCIRCUIT_MAX_ERRORS 5
  -+#define VRRP_MONCIRCUIT_MAX_ERRORS 40
  ++#define VRRP_MONCIRCUIT_MONDELAY 5000000
  ++#define VRRP_MONCIRCUIT_MAX_ERRORS 8
    #define IPPROTO_VRRP 112
    #define MAX_IP_ALIAS 255
    
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/vrrpd/vrrpd.spec
  ============================================================================
  $ cvs diff -u -r1.30 -r1.31 vrrpd.spec
  --- openpkg-src/vrrpd/vrrpd.spec      14 Oct 2004 08:13:29 -0000      1.30
  +++ openpkg-src/vrrpd/vrrpd.spec      14 Oct 2004 08:18:59 -0000      1.31
  @@ -74,6 +74,7 @@
   
   %prep
       %setup -q -n freevrrpd-%{version}
  +    exit 0
       %patch -p0
   
   %build
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to