Changeset 192565b in mainline for uspace/srv/net/inetsrv/inet_link.c
- Timestamp:
- 2013-05-27T13:18:13Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f2c19b0
- Parents:
- d120133 (diff), c90aed4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inet_link.c
rd120133 r192565b 196 196 197 197 static int first = 1; 198 /* XXX For testing: set static IP address 1 92.168.0.4/24 */198 /* XXX For testing: set static IP address 10.0.2.15/24 */ 199 199 addr = inet_addrobj_new(); 200 200 if (first) { … … 202 202 first = 0; 203 203 } else { 204 addr->naddr.ipv4 = (1 92 << 24) + (168 << 16) + (0 << 8) + 4;204 addr->naddr.ipv4 = (10 << 24) + (0 << 16) + (2 << 8) + 15; 205 205 } 206 206 addr->naddr.bits = 24;
Note:
See TracChangeset
for help on using the changeset viewer.