Changeset 8452
- Timestamp:
- 11/29/07 13:15:07 (2 years ago)
- Files:
-
- src/router/httpd/modules/dd-wrt.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/router/httpd/modules/dd-wrt.c
r8442 r8452 7077 7077 if (nvram_match ("def_whwaddr", "00:00:00:00:00:00")) 7078 7078 { 7079 if (nvram_match ("port_swap", "1")) 7080 c = strdup (nvram_safe_get ("et1macaddr")); 7081 else 7082 c = strdup (nvram_safe_get ("et0macaddr")); 7079 c = strdup (nvram_safe_get ("il0macaddr")); 7080 // if (nvram_match ("port_swap", "1")) 7081 // c = strdup (nvram_safe_get ("et1macaddr")); 7082 // else 7083 // c = strdup (nvram_safe_get ("et0macaddr")); 7083 7084 dofree = 1; 7084 if (c)7085 {7086 MAC_ADD (c);7087 MAC_ADD (c);7088 }7085 // if (c) 7086 // { 7087 // MAC_ADD (c); 7088 // MAC_ADD (c); 7089 // } 7089 7090 } 7090 7091 else
