- Timestamp:
- Nov 8, 2010 12:35:27 PM (14 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r33826 r33833 648 648 } 649 649 650 static void drvNATNotifyApplyPortForwardCommand(PDRVNAT pThis, bool fRemove,650 static void drvNATNotifyApplyPortForwardCommand(PDRVNAT pThis, bool fRemove, 651 651 const char *pNatRuleName, bool fUdp, const char *pHostIp, 652 652 uint16_t u16HostPort, const char *pGuestIp, uint16_t u16GuestPort) -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r33825 r33833 1665 1665 1666 1666 LogRel(("NAT: set redirect %s host port %d => guest port %d @ %R[IP4]\n", 1667 (rule->proto == IPPROTO_UDP?"UDP":"TCP"), 1668 rule->host_port, rule->guest_port, &guest_addr)); 1667 rule->proto == IPPROTO_UDP ? "UDP" : "TCP", rule->host_port, rule->guest_port, &guest_addr)); 1669 1668 1670 1669 if (rule->proto == IPPROTO_UDP) … … 1785 1784 && rule->activated) 1786 1785 { 1786 LogRel(("NAT: remove redirect %s host port %d => guest port %d @ %R[IP4]\n", 1787 rule->proto == IPPROTO_UDP ? "UDP" : "TCP", rule->host_port, rule->guest_port, &guest_addr)); 1788 1787 1789 LibAliasUninit(rule->so->so_la); 1788 1790 if (is_udp) 1789 {1790 1791 udp_detach(pData, rule->so); 1791 }1792 1792 else 1793 {1794 1793 tcp_close(pData, sototcpcb(rule->so)); 1795 }1796 1794 LIST_REMOVE(rule, list); 1797 1795 RTMemFree(rule);
Note:
See TracChangeset
for help on using the changeset viewer.