On Tuesday 13 January 2004 12:41:55 -0800, Bart De Schuymer wrote: > Reading the man page is indeed confusing for a user, w.r.t. bridge ports. > I think it would be more logical if all PF_PACKET > sockets see the frames before the bridge code. I agree. I just ran into this problem trying to read bridge PDUs from a daemon listening on a packet socket. I'm glad I found this thread; it saved me a lot of debugging time. > How about placing the call to __handle_bridge() right after the second > list_for_each? If I'm not mistaken the relevant pt_pre->func that would deal > with the packet will not have been executed yet, while those PF_PACKET > functions will already have been called... Has anyone tested this in the two weeks since it was suggested? -- Dan Eble <dane@xxxxxxxxxx> _____ . | _ |/| Applied Innovation Inc. | |_| | | "All Protocols MUST be odd" http://www.aiinet.com/ |__/|_|_| -- RFC 1661 (PPP)