[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    PATCH 3.1.3/ipnat.c (again)
From:       Mandy Kinsly <mandyk () sparky ! gmu ! edu>
Date:       1997-01-10 0:42:00
[Download RAW message or body]

Hello,

This ipnat.c patch seems to work for me:

nat /src/ip_fil3.1.3# diff -c ipnat.c ipnat.c.orig
*** ipnat.c     Thu Jan 09 19:26:32 1997
--- ipnat.c.orig    Thu Jan 09 19:29:29 1997
***************
*** 247,253 ****
            return;
        }
        for (i = 0; i < NAT_SIZE; i++)
!               for (np = nt[i]; np; np = nat.nat_next[0]) {
                if (kmemcpy(&nat, np, sizeof(nat)))
                    break;
                printf("%s %hu <- -> ",
--- 247,253 ----
            return;
        }
        for (i = 0; i < NAT_SIZE; i++)
!               for (np = nt[i]; np; np = nat.nat_next) {
                if (kmemcpy(&nat, np, sizeof(nat)))
                    break;
                printf("%s %hu <- -> ",

I haven't seen any rebooting yet, though the machine hung for a few seconds
earlier.

Mandy Kinsly,
mandyk@sparky.wrlc.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic