Re: local_ip doesn't work?

From: Ed Knowles <ed@dont-contact.us>
Date: Tue, 21 Jan 1997 13:52:06 -0400

G'day Roberto!

There is another patch:

*** cache_cf.old.c Tue Jan 21 13:46:03 1997
--- cache_cf.c Tue Jan 21 13:47:00 1997
***************
*** 400,407 ****
        }
      }

! if (inv)
! q->access = (access == IP_ALLOW) ? IP_DENY : IP_ALLOW;
      q->addr.s_addr = htonl(a1 * 0x1000000 + a2 * 0x10000 + a3 * 0x100 + a4);
      q->mask.s_addr = lmask.s_addr;
  }
--- 400,406 ----
        }
      }

! q->access = inv ? ((access == IP_ALLOW) ? IP_DENY : IP_ALLOW) : access;
      q->addr.s_addr = htonl(a1 * 0x1000000 + a2 * 0x10000 + a3 * 0x100 + a4);
      q->mask.s_addr = lmask.s_addr;
  }

-- 
Ed Knowles aka Jasper				   Phone : +61 2 9385 4962
E-mail: ed@fatboy.geog.unsw.edu.au	           Fax   : +61 2 9313 7878
            What I lack in morals I make up for in principles.
Received on Mon Jan 20 1997 - 19:03:08 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:08 MST