[Click] click-align gives incorrect output
Tom Parker
palfrey at tevp.net
Wed Jul 16 10:49:40 EDT 2008
Click-align (current git head) seems to give rather bizarre results.
For example, the test config
tap0 :: KernelTap(1.0.0.1/24) -> fromhost_cl :: Classifier(12/0806, 12/0800);
fromhost_cl[0] -> ARPResponder(0.0.0.0/0 1:1:1:1:1:1) -> tap0;
fromhost_cl[1] ->Print(serial ,-1,CONTENTS HEX) -> Discard; // IP packets
results in the following output when fed into click-align
# 1 "conf"
tap0 :: KernelTap(1.0.0.1/24);
# 1 "conf"
fromhost_cl :: Classifier(12/0806, 12/0800);
# 2 "conf"
ARPResponder at 3 :: ARPResponder(0.0.0.0/0 1:1:1:1:1:1);
# 3 "conf"
Print at 4 :: Print(serial ,-1,CONTENTS HEX);
# 3 "conf"
Discard at 5 :: Discard;
# 0 "<click-align>"
Align at click_align@9 :: Align(4, 0);
# 0 "<click-align>"
AlignmentInfo at click_align@10 :: AlignmentInfo(fromhost_cl 4 0);
# 16 ""
fromhost_cl [1] -> Print at 4
-> Discard at 5;
fromhost_cl -> ARPResponder at 3
-> tap0
-> Align at click_align@9
-> fromhost_cl;
Note the complete removal of any mention of fromhost_cl[0], and some
of that code appears to have been merged onto the front of the
original first line tap0->fromhost_cl path (see last 4 lines of
output). This seems very broken to me.
Ideas anyone?
Tom Parker
More information about the click
mailing list