]>
Commit | Line | Data |
---|---|---|
f5da5f84 JR |
1 | From jwomack@eecs.wsu.edu Tue Mar 30 16:05:04 1999 |
2 | Return-Path: <jwomack@eecs.wsu.edu> | |
3 | Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) | |
4 | by developer.redhat.com (8.8.7/8.8.7) with ESMTP id QAA02309 | |
5 | for <bugzilla@developer.redhat.com>; Tue, 30 Mar 1999 16:05:04 -0500 | |
6 | Received: from lacrosse.redhat.com (root@lacrosse.redhat.com [207.175.42.154]) | |
7 | by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA02564 | |
8 | for <bugzilla@developer.redhat.com>; Tue, 30 Mar 1999 16:05:03 -0500 | |
9 | Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) | |
10 | by lacrosse.redhat.com (8.8.7/8.8.7) with ESMTP id QAA09607 | |
11 | for <bugzilla@lacrosse.redhat.com>; Tue, 30 Mar 1999 16:05:01 -0500 | |
12 | Received: from dns1.eecs.wsu.edu (root@dns1.eecs.wsu.edu [134.121.64.1]) | |
13 | by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA02552 | |
14 | for <bugzilla@redhat.com>; Tue, 30 Mar 1999 16:04:58 -0500 | |
15 | Received: from eecs.wsu.edu (IDENT:jwomack@roberts.eecs.wsu.edu [134.121.66.23]) by dns1.eecs.wsu.edu with ESMTP (8.9.3/) | |
16 | id NAA18173 for <bugzilla@redhat.com>; Tue, 30 Mar 1999 13:04:55 -0800 (PST) | |
17 | Sender: jwomack@eecs.wsu.edu | |
18 | Message-ID: <37013C76.518F0EC1@eecs.wsu.edu> | |
19 | Date: Tue, 30 Mar 1999 13:04:54 -0800 | |
20 | From: Joseph Womack <jwomack@eecs.wsu.edu> | |
21 | Organization: Washington State University | |
22 | X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) | |
23 | MIME-Version: 1.0 | |
24 | To: bugzilla@redhat.com | |
25 | Subject: BUG ID #1894 | |
26 | Content-Type: multipart/mixed; boundary="------------957C7BD46B93451A1A635699" | |
27 | ||
28 | This is a multi-part message in MIME format. | |
29 | --------------957C7BD46B93451A1A635699 | |
30 | Content-Type: text/plain; charset=us-ascii | |
31 | Content-Transfer-Encoding: 7bit | |
32 | ||
33 | This should fix the problem. It seems to for me :-) | |
34 | ||
35 | Joe | |
36 | ||
37 | ---------------------------------------------------------------------------- | |
38 | Joe Womack Washington State University | |
39 | jwomack@eecs.wsu.edu EECS System Staff | |
40 | --------------957C7BD46B93451A1A635699 | |
41 | Content-Type: text/plain; charset=us-ascii; name="gated-3-5-10-linux-v2.2.patch" | |
42 | Content-Transfer-Encoding: 7bit | |
43 | Content-Disposition: inline; filename="gated-3-5-10-linux-v2.2.patch" | |
44 | ||
45 | --- gated-3-5-10/src/krt_rtread_proc.c.orig Tue Mar 30 09:17:49 1999 | |
46 | +++ gated-3-5-10/src/krt_rtread_proc.c Tue Mar 30 12:56:13 1999 | |
47 | @@ -125,9 +125,18 @@ | |
48 | * each line. This changed reader will always stay in sync. | |
49 | * -- Alan Cox. | |
50 | */ | |
51 | + | |
52 | +/* | |
53 | + * Despite Alan's comment, they did indeed change the format of /proc | |
54 | + * /proc/net/route. They changed the flags to be 4 digits instead of | |
55 | + * the 2 digits | |
56 | + * | |
57 | + * -- Joe Womack <jwomack@eecs.wsu.edu> | |
58 | + */ | |
59 | + | |
60 | while(fgets(buf,256,DFile)) | |
61 | { | |
62 | - i=sscanf(buf,"%s\t%lx\t%lx\t%02x\t%*d\t%*d\t%*d\t%lx\t%*d\t%*d\n", | |
63 | + i=sscanf(buf,"%s\t%lx\t%lx\t%04x\t%*d\t%*d\t%*d\t%lx\t%*d\t%*d\t%*d\n", | |
64 | if_name, | |
65 | &addr_dest, | |
66 | &addr_gw, | |
67 | ||
68 | --------------957C7BD46B93451A1A635699-- | |
69 |