Next-in-Thread Next Message Previous Message Next Thread

Feedback: Actual solution for ipnatadm with kernel-2.0.33

Forum: Linux IP NAT Forum
Re: News Patch for 2.0.33 (Michael Hasenstein)
Re: Question Unable to compile ipnatadm.c with nat-patch-2.0.33 (Youngjin Hong)
Keywords: nat-patch-2.0.33
Date: Thu, 28 May 1998 05:46:19 GMT
From: Kevin Reynolds <kreynolds@dmwgroup.com>

Actually, all you need to add to the ipnatadm.h header is #include <linux/in.h>

The problem with the compilation is that it doesnt have a definition for in_addr

<linux/in.h> defines in_addr so:

struct in_addr {
  __u32 s_addr;
};

the s_addr is the part that is considered incomplete.

Kevin Reynolds Senior Network Engineer DMW Worldwide kreynolds@dmwgroup.com

Next-in-Thread Next Message Previous Message Next Thread

to: "Actual solution for ipnatadm with kernel-2.0.33"

Subscribe Membership Move/Remove Admin Mode Help for HyperNews 1.9.5