Changeset 18260
- Timestamp:
- 01/21/12 18:52:17 (16 months ago)
- File:
-
- 1 edited
-
src/router/services/services/bonding.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/services/bonding.c
r12224 r18260 57 57 sprintf(count, "max_bonds=%s", 58 58 nvram_default_get("bonding_number", "1")); 59 eval("insmod", "bonding", "miimon=100", "downdelay=200", "updelay=200",60 mode, count);61 59 62 60 static char word[256]; 63 61 char *next, *wordlist; 64 62 int first=0; 65 63 wordlist = nvram_safe_get("bondings"); 66 64 foreach(word, wordlist, next) { … … 76 74 sysprintf("iwpriv %s wdssep 0", port); 77 75 sysprintf("ifconfig %s up", port); 76 } 77 if (!first){ 78 eval("insmod", "bonding", "miimon=100", "downdelay=200", "updelay=200",mode, count); 79 first=1; 78 80 } 79 81 eval("ifconfig", tag, "0.0.0.0", "up");
Note: See TracChangeset
for help on using the changeset viewer.
