~ubuntu-branches/ubuntu/trusty/keepalived/trusty

« back to all changes in this revision

Viewing changes to keepalived/core/layer4.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-05-12 20:26:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090512202615-k850bw35qpuvpq4p
Tags: 1.1.17-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/rules: DEB_UPDATE_RCD_PARAMS := expicit init start/stop
    parameters (don't stop at 0 and 6)
  - debian/init.d: init script header adapted to stop rule
  - debian/keepalived.postinst: Remove shutdown and reboot links

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * Part:        Layer4 checkers handling. Register worker threads &
7
7
 *              upper layer checkers.
8
8
 *
9
 
 * Version:     $Id: layer4.c,v 1.1.15 2007/09/15 04:07:41 acassen Exp $
 
9
 * Version:     $Id: layer4.c,v 1.1.17 2009/03/05 01:31:12 acassen Exp $
10
10
 *
11
11
 * Author:      Alexandre Cassen, <acassen@linux-vs.org>
12
12
 *
20
20
 *              as published by the Free Software Foundation; either version
21
21
 *              2 of the License, or (at your option) any later version.
22
22
 *
23
 
 * Copyright (C) 2001-2007 Alexandre Cassen, <acassen@freebox.fr>
 
23
 * Copyright (C) 2001-2009 Alexandre Cassen, <acassen@freebox.fr>
24
24
 */
25
25
 
26
26
#include "layer4.h"
93
93
                 int (*func) (struct _thread *))
94
94
{
95
95
        int status;
96
 
        int slen;
 
96
        socklen_t slen;
97
97
        int ret = 0;
98
98
        TIMEVAL timer_min;
99
99