mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-05 09:27:43 +02:00
add forgotten compile error fixes from previous commit
This commit is contained in:
+2
-2
@@ -1156,9 +1156,9 @@ worker_handle_request(struct comm_point* c, void* arg, int error,
|
||||
if((ret=deny_refuse_all(c, acl, worker, repinfo)) != -1)
|
||||
{
|
||||
/* parse packet to check for EDNS. Add EDE blocked if possible */
|
||||
sldns_buffer_rewind(c->buffer)
|
||||
sldns_buffer_rewind(c->buffer);
|
||||
if (msgparse_check_edns_in_packet(c->buffer))
|
||||
EDNS_OPT_APPEND_EDE(edns, worker->scratchpad,
|
||||
EDNS_OPT_APPEND_EDE(&edns, worker->scratchpad,
|
||||
LDNS_EDE_BLOCKED, "");
|
||||
|
||||
if(ret == 1)
|
||||
|
||||
@@ -346,7 +346,7 @@ void log_edns_opt_list(enum verbosity_value level, const char* info_str,
|
||||
* @param pkt: the packet.
|
||||
* @return 0 if true, 1 if false
|
||||
*/
|
||||
int msgparse_check_edns_in_packet(sldns_buffer* pkt);
|
||||
int msgparse_check_edns_in_packet(struct sldns_buffer* pkt);
|
||||
|
||||
|
||||
#endif /* UTIL_DATA_MSGPARSE_H */
|
||||
|
||||
Reference in New Issue
Block a user