[Click] Problem with BandwidthMeter

Roberto Riggio rriggio at create-net.org
Tue May 15 17:24:37 EDT 2007


I'm using the following configuration:

bw :: BandwidthMeter(20kBps);

RatedSource(\<0800>, 1000)
 -> bw
 -> Print() 
 -> Discard();

bw[1] -> Discard;

But when I launch click I get the following messages:

/home/hamvil/src/wing/click-packages/aggregator/averageload.click:4: While configuring 'bw :: BandwidthMeter':
  need 0 arguments, one less than the number of output ports
/home/hamvil/src/wing/click-packages/aggregator/averageload.click:4: 'bw :: BandwidthMeter' has no output 1
/home/hamvil/src/wing/click-packages/aggregator/averageload.click:12: 'Discard at 5 :: Discard' input 0 unused
Router could not be initialized!

What am I doing wrong?

Roberto


More information about the click mailing list