2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 01:49:35 +00:00

A missing "else" in dhcrelay.c could have caused an interface not to

be recognized. [rt18887]
This commit is contained in:
Evan Hunt 2008-11-12 23:22:14 +00:00
parent 4d24561a64
commit ebf076feea
2 changed files with 5 additions and 1 deletions

View File

@ -47,6 +47,10 @@ The system has only been tested on Linux, FreeBSD, and Solaris, and may not
work on other platforms. Please report any problems and suggested fixes to
<dhcp-users@isc.org>.
Changes since 4.1.0b1
- A missing "else" in dhcrelay.c could have caused an interface not to
be recognized.
Changes since 4.1.0a2

View File

@ -1384,7 +1384,7 @@ process_up6(struct packet *packet, struct stream_list *dp) {
if (dp) {
if_id = dp->id;
} if (!downstreams->next) {
} else if (!downstreams->next) {
if_id = downstreams->id;
} else {
log_info("Don't know the interface.");