Changeset 23633 for titan/titan/inetwork.h
- Timestamp:
- 09/10/13 18:44:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/inetwork.h
r23286 r23633 249 249 for(tmpifa = ifa; tmpifa != NULL; tmpifa = tmpifa->ifa_next) 250 250 { 251 char* tmp_ipaddress e= NULL;251 char* tmp_ipaddress = NULL; 252 252 char* tmp_netmask = NULL; 253 253 char* tmp_mac = NULL; … … 276 276 { 277 277 tmpstr = fixip(buf, 0); 278 tmp_ipaddress e= string_newline(ostrcat(tmpstr, NULL, 1, 0));279 } 280 else 281 tmp_ipaddress e = ostrcat(tmp_ipaddresse, "000.000.000.000", 1, 0);278 tmp_ipaddress = string_newline(ostrcat(tmpstr, NULL, 1, 0)); 279 } 280 else 281 tmp_ipaddress = ostrcat(tmp_ipaddress, "000.000.000.000", 1, 0); 282 282 283 283 //NETMASK … … 368 368 { 369 369 if(self == NULL) 370 node = changeinetwork(tmp_device, tmp_ipaddress e, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, tmpinetwork, 0);370 node = changeinetwork(tmp_device, tmp_ipaddress, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, tmpinetwork, 0); 371 371 else 372 node = changeinetwork(tmp_device, tmp_ipaddress e, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, tmpinetwork, 1);373 } 374 else 375 node = addinetwork(tmp_device, tmp_ipaddress e, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, node);372 node = changeinetwork(tmp_device, tmp_ipaddress, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, tmpinetwork, 1); 373 } 374 else 375 node = addinetwork(tmp_device, tmp_ipaddress, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, node); 376 376 } 377 377
Note: See TracChangeset
for help on using the changeset viewer.