Hi Martin,
Thanks very much i had applied the patch and tested
it. It works fine.
Cheers..
Subodh
--- Martin Josefsson <[EMAIL PROTECTED]> wrote:
> On Wed, 2002-04-24 at 11:22, Harald Welte wrote:
>
> > I will try to debug your problem ASAP. Thanks for
> reporting the bug.
> >
> > If you don't hear anything from me within one
> week, please try to
> > remind me via personal mail.
>
> Hi Subodh,
>
> Attached is a patch for the icmp problem in ulogd.
> I just sent it to the ulogd mailinglist.
>
> It would be nice if you could post ulogd problems to
> the ulogd
> mailinglist as many developers doesn't read this
> userslist very
> frequently.
>
> --
> /Martin
>
> Never argue with an idiot. They drag you down to
> their level, then beat
> you with experience.
> > --- ulog/ulogd/extensions/ulogd_BASE.c.orig Sat
Apr
> 27 19:59:14 2002
> +++ ulog/ulogd/extensions/ulogd_BASE.c Sat Apr 27
> 19:59:49 2002
> @@ -309,7 +309,7 @@
> ulog_packet_msg_t *pkt)
> {
> struct iphdr *iph = (struct iphdr *) pkt->payload;
> - void *protoh = (u_int32_t *) (iph + iph->ihl);
> + void *protoh = (u_int32_t *)iph + iph->ihl;
> struct icmphdr *icmph = protoh;
> ulog_iret_t *ret = ip->result;
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com