VirtualBox

Changeset 57739 in vbox for trunk


Ignore:
Timestamp:
Sep 14, 2015 2:33:10 PM (9 years ago)
Author:
vboxsync
Message:

NAT: G/c unused port_forward_rule::mac_address.

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r57550 r57739  
    16371637    rule->guest_addr.s_addr = guest_addr.s_addr;
    16381638    rule->bind_ip.s_addr = host_addr.s_addr;
    1639     if (ethaddr != NULL)
    1640         memcpy(rule->mac_address, ethaddr, ETH_ALEN);
    1641     /* @todo add mac address */
    16421639    LIST_INSERT_HEAD(&pData->port_forward_rule_head, rule, list);
    16431640    pData->cRedirectionsStored++;
  • trunk/src/VBox/Devices/Network/slirp/slirp_state.h

    r56377 r57739  
    8888    struct in_addr guest_addr;
    8989    struct in_addr bind_ip;
    90     uint8_t mac_address[6]; /*need ETH_ALEN here */
    9190    int activated;
    9291    struct socket *so;
Note: See TracChangeset for help on using the changeset viewer.

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