Changeset 533e2d7 in mainline for uspace/srv/net/inetsrv/inet_link.c
- Timestamp:
- 2013-06-03T07:55:35Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 797d4d19
- Parents:
- ea15a89a (diff), 6db5d4b (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
rea15a89a r533e2d7 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.