VirtualBox

Ignore:
Timestamp:
Feb 14, 2014 3:14:24 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92290
Message:

G/c uPfrHostAddr and uPfrGuestAddr from struct PORTFORWARDRULE.

Clients either only need string versions or parse string versions
themselves. Ironically, this kills the only (#if0'ed) reference to
RTNetStrToIPv6Addr from the tree that was my initial motivation to
write one. :)

As a side effect natnet IPv6 port-forwarding now works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NetLib/VBoxPortForwardString.h

    r49113 r50459  
    4343    /* IPPROTO_{UDP,TCP} */
    4444    int        iPfrProto;
    45     RTNETADDRU uPfrHostAddr;
    4645    char       szPfrHostAddr[INET6_ADDRSTRLEN];
    4746    uint16_t   u16PfrHostPort;
    48     RTNETADDRU uPfrGuestAddr;
    4947    char       szPfrGuestAddr[INET6_ADDRSTRLEN];
    5048    uint16_t   u16PfrGuestPort;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette