• Bug#265166: ppp: holdoff fix incomplete

    From [email protected]@1:229/2 to All on Thu Aug 12 03:10:11 2004
    Package: ppp
    Version: 2.4.2+20040202-3
    Severity: normal

    Hi:

    Unfortunately the holdoff fix that I sent in a couple of years ago
    was incomplete. Here is the missing half to make it actually work.

    Just to recap, this lets holdoff work when the pty option is present.

    Thanks,

    -- System Information
    Debian Release: testing/unstable
    Kernel Version: Linux gondolin 2.4.26-1-686-smp #1 SMP Sat May 1 19:17:11 EST 2004 i686 GNU/Linux

    Versions of the packages ppp depends on:
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries and Timezone ii libpam-modules 0.76-22 Pluggable Authentication Modules for PAM
    ii libpam-runtime 0.76-22 Runtime support for the PAM library
    ii libpam0g 0.76-22 Pluggable Authentication Modules library
    ii libpcap0.7 0.7.2-7 System interface for user-level packet captu ii makedev 2.3.1-70 Creates device files in /dev
    ii netbase 4.17 Basic TCP/IP networking system
    ii procps 3.2.1-2 The /proc file system utilities

    Index: pppd/options.c ===================================================================
    RCS file: /var/cvs/snwb/packages/ppp/pppd/options.c,v
    retrieving revision 1.2
    retrieving revision 1.3
    diff -u -r1.2 -r1.3
    --- pppd/options.c 14 Oct 2002 01:31:06 -0000 1.2
    +++ pppd/options.c 19 Nov 2002 03:06:35 -0000 1.3
    @@ -163,7 +163,8 @@
    OPT_PRIOSUB | OPT_A2CLR | 1, &nodetach },

    { "holdoff", o_int, &holdoff,
    - "Set time in seconds before retrying connection", OPT_PRIO },
    + "Set time in seconds before retrying connection",
    + OPT_PRIO, &holdoff_specified },

    { "idle", o_int, &idle_time_limit,
    "Set time in seconds before disconnecting idle link", OPT_PRIO },


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)