Documenation updates for --bridge-interface and "off-link".

This commit is contained in:
Neil Jerram authored and Simon Kelley committed 2015-06-10 22:23:20 +01:00
1 parent 9bad339af8
commit 4918bd5505
7 files changed
+46 -24

No files matched your search

+5 -4
View File
@@ -225,10 +225,11 @@ void dhcp_packet(time_t now, int pxe_fd)
strncpy(arp_req.arp_dev, ifr.ifr_name, 16);
#endif
/* One form of bridging on BSD has the property that packets
can be recieved on bridge interfaces which do not have an IP address.
We allow these to be treated as aliases of another interface which does have
an IP address with --dhcp-bridge=interface,alias,alias */
/* If the interface on which the DHCP request was received is an
alias of some other interface (as specified by the
--bridge-interface option), change ifr.ifr_name so that we look
for DHCP contexts associated with the aliased interface instead
of with the aliasing one. */
for (bridge = daemon->bridges; bridge; bridge = bridge->next)
{
for (alias = bridge->alias; alias; alias = alias->next)
+1 -1
View File
@@ -165,7 +165,7 @@ void dhcp6_packet(time_t now)
/* If the interface on which the DHCPv6 request was received is
an alias of some other interface (as specified by the
--bridge-interfaces option), change parm.ind so that we look
--bridge-interface option), change parm.ind so that we look
for DHCPv6 contexts associated with the aliased interface
instead of with the aliasing one. */
for (bridge = daemon->bridges; bridge; bridge = bridge->next)
+3 -3
View File
@@ -205,8 +205,8 @@ void icmp6_packet(time_t now)
my_syslog(MS_DHCP | LOG_INFO, "RTR-SOLICIT(%s) %s", interface, mac);
/* If the incoming interface is an alias of some other one (as
specified by the --bridge-interfaces option), send an RA
using the context of the aliased interface. */
specified by the --bridge-interface option), send an RA using
the context of the aliased interface. */
for (bridge = daemon->bridges; bridge; bridge = bridge->next)
{
int bridge_index = if_nametoindex(bridge->iface);
@@ -827,7 +827,7 @@ time_t periodic_ra(time_t now)
}
/* The source interface can only appear in at most
one --bridge-interfaces. */
one --bridge-interface. */
break;
}
}