[Click] DecIPTTL
Nikola Knežević
laladelausanne at gmail.com
Thu Dec 4 08:11:18 EST 2008
Hi guys,
I have a simple question about Click configurations.
If I have something like this:
FromDevice(ed0) -> Strip(14)
-> DecIPTTL
-> ToDevice(ed1);
system crashes in DecIPTTL. In simple_action, ip_header returns 0x0,
which gets referenced later.
If I change the configuration to:
FromDevice(ed0) -> Strip(14)
-> CheckIPHeader
-> DecIPTTL
-> ToDevice(ed1);
then I don't have any problems. Why is this happening? I assume that
CheckIPHeader sets the proper field of the Packet, but I don't see why
Strip doesn't do that.
I'm running Click as a kernel module, on FreeBSD 7.1.
Cheers,
Nikola
More information about the click
mailing list