Changeset eac9722 in mainline
- Timestamp:
- 2010-01-04T23:51:01Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be0d92e
- Parents:
- ede63e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/ip/ip.c
rede63e4 reac9722 658 658 address_in = ( struct sockaddr_in * ) addr; 659 659 dest = & address_in->sin_addr; 660 if( ! dest->s_addr ){ 661 dest->s_addr = IPV4_LOCALHOST_ADDRESS; 662 } 660 663 break; 661 664 // TODO IPv6 … … 664 667 address_in6 = ( struct sockaddr_in6 * ) dest; 665 668 address_in6.sin6_addr.s6_addr; 669 IPV6_LOCALHOST_ADDRESS; 666 670 */ default: 667 671 return ip_release_and_return( packet, EAFNOSUPPORT ); … … 1479 1483 address_in = ( struct sockaddr_in * ) destination; 1480 1484 dest = & address_in->sin_addr; 1485 if( ! dest->s_addr ){ 1486 dest->s_addr = IPV4_LOCALHOST_ADDRESS; 1487 } 1481 1488 break; 1482 1489 // TODO IPv6
Note:
See TracChangeset
for help on using the changeset viewer.