Hello,

I want to run cbench without learning mac addresses. For this purpose there
seems to be an error in the code.
In the following snippet of the code cbench.c:

"case 'L':
                if(optarg)
                    learn_dst_macs = ( strcasecmp("true", optarg) == 0
|| strcasecmp("on", optarg) == 0 || strcasecmp("1", optarg) == 0);
                else
                    learn_dst_macs = 1;
                break;"

Should it be like this "learn_dst_macs=0" in 'else' condition?


Thanks,
Ahsen
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to