Hi agian,

now again. But this time with the patch...

regards

O. Seufer
-- 
  _              |  Oliver Seufer          |  Tel.: ++49-551-370000-0
 |_     |\ |     |  Service Network GmbH   |  FAX:  ++49-551-370000-9
 ._|ER  | \|ET   |  Bahnhofsallee 1b       |  mailto:[EMAIL PROTECTED]
Service Network  |  D-37081 Goettingen     |  http://www.SerNet.DE/
diff -NurpP linux-2.4.23-vs1.1.6/include/net/route.h 
linux-2.4.23-vs1.1.6a/include/net/route.h
--- linux-2.4.23-vs1.1.6/include/net/route.h    Fri Dec  5 13:54:31 2003
+++ linux-2.4.23-vs1.1.6a/include/net/route.h   Fri Dec  5 13:55:41 2003
@@ -172,6 +172,8 @@ static inline int ip_route_connect(struc
                __u32 ipv4root = ip_info->ipv4[0];
                if (ipv4root != 0) {
                        int n = ip_info->nbipv4;
+                       if (dst == 0x0100007f && !vx_check(0, VX_ADMIN))
+                               dst = ipv4root;
                        if (src == 0) {
                                if (n > 1) {
                                        u32 foundsrc;
@@ -201,8 +203,6 @@ static inline int ip_route_connect(struc
                                if (i == n)
                                        return -EPERM;
                        }
-                       if (dst == 0x0100007f && !vx_check(0, VX_ADMIN))
-                               dst = ipv4root;
                }
        }
        err = ip_route_output(rp, dst, src, tos, oif);

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to