Pārlūkot izejas kodu

[plugins/file] do not stop when an entry is found

The plugin currently stops when when an entry is found. This does not
let the following plugins to run, and it makes no sense.

Signed-off-by: Andrea Barberio <insomniac@slackware.it>
Andrea Barberio 6 gadi atpakaļ
vecāks
revīzija
04b1f8354b
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      plugins/file/plugin.go

+ 1 - 2
plugins/file/plugin.go

@@ -165,8 +165,7 @@ func Handler6(req, resp dhcpv6.DHCPv6) (dhcpv6.DHCPv6, bool) {
 			}
 		}
 	}
-	// XXX: We should maybe allow other plugins to run after this to add other options/handle non-IANA requests
-	return resp, true
+	return resp, false
 }
 
 // Handler4 handles DHCPv4 packets for the file plugin