Re: [Openvpn-devel] Getting src-IP/port from 'struct context'...

2010-12-15 Thread Vineet Kumar
That works. Thanks a lot. Vineet On Wed, Dec 15, 2010 at 12:56 AM, Gert Doering wrote: > Hi, > > On Tue, Dec 14, 2010 at 03:16:53PM -0800, Vineet Kumar wrote: >>   Is there a straightforward way to print source IP address and port >> given a 'struct context' pointer? > > If I read code and struc

Re: [Openvpn-devel] Getting src-IP/port from 'struct context'...

2010-12-15 Thread Gert Doering
Hi, On Tue, Dec 14, 2010 at 03:16:53PM -0800, Vineet Kumar wrote: > Is there a straightforward way to print source IP address and port > given a 'struct context' pointer? If I read code and structures right, it's in context_pointer->c2->to_link_addr->dest and there's a number of calls in fo