--- zebra/rt_netlink.c 2008-08-15 15:42:56.000000000 +0200 +++ zebra/rt_netlink.c 2008-08-15 15:43:19.000000000 +0200 @@ -1971,7 +1971,7 @@ /* 7*/ BPF_STMT(BPF_LD|BPF_ABS|BPF_B, sizeof(struct nlmsghdr) + offsetof(struct rtmsg, rtm_protocol)), /* 8*/ BPF_JUMP(BPF_JMP+ BPF_B, RTPROT_REDIRECT, 4, 0), - /* 9*/ BPF_JUMP(BPF_JMP+ BPF_B, RTPROT_KERNEL, 0, 1), + /* 9*/ BPF_JUMP(BPF_JMP+ BPF_B, RTPROT_KERNEL, 3, 0), /*10*/ BPF_JUMP(BPF_JMP+ BPF_B, RTPROT_ZEBRA, 0, 3), /*11*/ BPF_STMT(BPF_LD|BPF_ABS|BPF_H, offsetof(struct nlmsghdr, nlmsg_type)), /*12*/ BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, htons(RTM_NEWROUTE), 0, 1),
This brings the BPF in line with the description (which is in file zebra/rt_netlink.c line 1945 ff.) and addresses the bug. Please apply -- Hannes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]