--- Begin Message ---
Hai,

    When i tried to compile the following code it is showing some error .
can u please help me in solving it ??

Code:

fd::FromDevice(eth0);
ipr::IPRewriter(pattern 192.168.8.200 1234 192.168.8.243 1234 0 1, pattern
192.168.8.200 1234 192.168.8.107 - 2 3);
fd->ipr;
 ipr[0]->q1::Queue(1024)->ToDevice(eth0);
 ipr[1]->Discard;
 ipr[2]->q3::Queue(1024)->ToDevice(eth0);
 ipr[3]->Discard;


The error  is : While configuring 'ipr :: IPRewriter':   need 2 arguments,
one per input port
                       Router could not be initialized!
I am not sure whether the logic is correct or not. Please help me.

Thanks,
  Vivek.

--- End Message ---
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to