Changeset 15088 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 8, 2008 5:40:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r15087 r15088 852 852 switch(icr[i].Status) { 853 853 case IP_DEST_HOST_UNREACHABLE: 854 code =ICMP_UNREACH_HOST;854 code = (code != ~0 ? code :ICMP_UNREACH_HOST); 855 855 case IP_DEST_NET_UNREACHABLE: 856 code=ICMP_UNREACH_NET; 856 code = (code != ~0 ? code : ICMP_UNREACH_NET); 857 case IP_DEST_PROT_UNREACHABLE: 858 code = (code != ~0 ? code : ICMP_UNREACH_PROTOCOL); 859 /* UNREACH error inject here */ 860 case IP_DEST_PORT_UNREACHABLE: 861 code = (code != ~0 ? code : ICMP_UNREACH_PORT); 862 icmp_error(pData, so->so_m, ICMP_UNREACH, code, 0, "Error occured!!!"); 863 break; 857 864 } 858 865 }
Note:
See TracChangeset
for help on using the changeset viewer.