1 --- ppp-2.4.3/pppd/plugins/rp-pppoe/discovery.c.fix 2004-11-04 11:07:37.000000000 +0100
2 +++ ppp-2.4.3/pppd/plugins/rp-pppoe/discovery.c 2004-11-22 16:00:24.522462124 +0100
7 +void warn __P((char *, ...)); /* log a warning message */
12 --- ppp-2.4.3/pppd/ipv6cp.c.fix 2004-11-13 03:28:15.000000000 +0100
13 +++ ppp-2.4.3/pppd/ipv6cp.c 2004-11-22 16:00:27.049114044 +0100
23 return (rc); /* Return final code */
27 +#if defined(SOL2) || defined(__linux__)
28 +int ether_to_eui64(eui64_t *p_eui64);
31 * ipv6_check_options - check that any IP-related options are OK,
32 * and assign appropriate defaults.
33 --- ppp-2.4.3/pppdump/deflate.c.fix 2004-02-02 04:36:46.000000000 +0100
34 +++ ppp-2.4.3/pppdump/deflate.c 2004-11-22 16:02:18.071820020 +0100
36 #include <sys/types.h>
45 struct deflate_state *state = (struct deflate_state *) arg;
47 - int rlen, olen, ospace;
48 - int seq, i, flush, r, decode_proto;
54 --- ppp-2.4.3/pppdump/bsd-comp.c.fix 2004-02-02 04:36:46.000000000 +0100
55 +++ ppp-2.4.3/pppdump/bsd-comp.c 2004-11-22 16:00:27.052113631 +0100
57 || options[0] != CI_BSD_COMPRESS || options[1] != CILEN_BSD_COMPRESS
58 || BSD_VERSION(options[2]) != BSD_CURRENT_VERSION
59 || BSD_NBITS(options[2]) != db->maxbits
60 - || decomp && db->lens == NULL)
61 + || (decomp && db->lens == NULL))
66 u_int n_bits = db->n_bits;
67 u_int tgtbitno = 32-n_bits; /* bitno when we have a code */
68 struct bsd_dict *dictp;
69 - int explen, i, seq, len;
70 + int explen, seq, len;
71 u_int incode, oldcode, finchar;
72 u_char *p, *rptr, *wptr;
74 - int dlen, space, codelen, extra;
75 + int dlen=0, codelen, extra;
82 if (incode > max_ent + 2 || incode > db->maxmaxcode
83 - || incode > max_ent && oldcode == CLEAR) {
84 + || (incode > max_ent && oldcode == CLEAR)) {
86 printf("bsd_decomp%d: bad code 0x%x oldcode=0x%x ",
87 db->unit, incode, oldcode);
88 --- ppp-2.4.3/pppdump/pppdump.c.fix 2004-02-02 04:36:46.000000000 +0100
89 +++ ppp-2.4.3/pppdump/pppdump.c 2004-11-22 16:00:27.054113356 +0100
91 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
103 + printf("?%.2x\n", c);
112 + printf("?%.2x\n", c);