[Click] Alignment problem on ARM

Roberto Riggio roberto.riggio at create-net.org
Thu Jan 21 06:46:43 EST 2010


Hi,

I have a problem with click on an Intel ixp4xx platform (arm).

This is the script I'm using:

FromDevice(moni0)->AthdescDecap()->WifiDecap()->Classifier(12/06??)->Print()->Discard();

If I run click-align on that script i get the following output:

# 1 "<stdin>"
FromDevice at 1 :: FromDevice(moni0);
# 1 "<stdin>"
AthdescDecap at 2 :: AthdescDecap;
# 1 "<stdin>"
WifiDecap at 3 :: WifiDecap;
# 1 "<stdin>"
Classifier at 4 :: Classifier(12/06??);
# 1 "<stdin>"
Print at 5 :: Print;
# 1 "<stdin>"
Discard at 6 :: Discard;
# 0 "<click-align>"
AlignmentInfo at click_align@7 :: AlignmentInfo(Classifier at 4  4 2);
# 16 ""
FromDevice at 1 -> AthdescDecap at 2
     -> WifiDecap at 3
     -> Classifier at 4
     -> Print at 5
     -> Discard at 6;

However the alignment info is wrong, it should be 
AlignmentInfo(Classifier at 4  4 0). In fact
if I edit the click-align output manually the router works fine.

R.




More information about the click mailing list