summaryrefslogtreecommitdiff
path: root/relay
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2016-02-23 10:40:10 +0100
committerFrancis Dupont <fdupont@isc.org>2016-02-23 10:40:10 +0100
commit785c1a519e88bfebb70bd3384589de36bee02dd2 (patch)
tree04f794b247068983b2df432fb20f229de1e8bf03 /relay
parent08ad1e3c9089b51888c73837cf41de49112de29c (diff)
downloadisc-dhcp-785c1a519e88bfebb70bd3384589de36bee02dd2.tar.gz
Merged rt35711c (DHCPv4-over-DHCPv6 support)
Diffstat (limited to 'relay')
-rw-r--r--relay/dhcrelay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c
index e06eb4c2..9ec39cd1 100644
--- a/relay/dhcrelay.c
+++ b/relay/dhcrelay.c
@@ -1498,6 +1498,7 @@ process_up6(struct packet *packet, struct stream_list *dp) {
case DHCPV6_INFORMATION_REQUEST:
case DHCPV6_RELAY_FORW:
case DHCPV6_LEASEQUERY:
+ case DHCPV6_DHCPV4_QUERY:
log_info("Relaying %s from %s port %d going up.",
dhcpv6_type_names[packet->dhcpv6_msg_type],
piaddr(packet->client_addr),
@@ -1509,6 +1510,7 @@ process_up6(struct packet *packet, struct stream_list *dp) {
case DHCPV6_RECONFIGURE:
case DHCPV6_RELAY_REPL:
case DHCPV6_LEASEQUERY_REPLY:
+ case DHCPV6_DHCPV4_RESPONSE:
log_info("Discarding %s from %s port %d going up.",
dhcpv6_type_names[packet->dhcpv6_msg_type],
piaddr(packet->client_addr),
@@ -1727,6 +1729,7 @@ process_down6(struct packet *packet) {
case DHCPV6_RECONFIGURE:
case DHCPV6_RELAY_FORW:
case DHCPV6_LEASEQUERY_REPLY:
+ case DHCPV6_DHCPV4_RESPONSE:
log_info("Relaying %s to %s port %d down.",
dhcpv6_type_names[msg->msg_type],
piaddr(peer),
@@ -1742,6 +1745,7 @@ process_down6(struct packet *packet) {
case DHCPV6_DECLINE:
case DHCPV6_INFORMATION_REQUEST:
case DHCPV6_LEASEQUERY:
+ case DHCPV6_DHCPV4_QUERY:
log_info("Discarding %s to %s port %d down.",
dhcpv6_type_names[msg->msg_type],
piaddr(peer),