[Ewrt-devel] Trafic shaping with Ewrt
hwstar at rodgers.sdcoxmail.com
Tue Dec 14 08:58:42 PST 2004
I'm interested in using ewrt to do traffic shaping for voip on the wired LAN port. I have a v2 WRT54G. While looking at the code, I stumbled upon this in router/rc/whshaper.c:
// If no separate interfaces return eth0 or br0
// NOTE: BUG BUG - v2 moves wLAN to eth1 -- must fix!! (Where is LAN if though???)
if( nvram_match("wl0_separate_if", "1") ){
if(nvram_match("wshaper_dev", "WAN") )
return "eth1";
else if(!strcmp(nvram_safe_get("wshaper_dev"), "LAN") )
return "eth0";
else
return "eth2";
}
If I want to do traffic shaping on the wired ports (eth0) it looks like I am not going to be affected by the above bug, correct?
Thanks,
Steve.
More information about the Ewrt-devel mailing list