add forgotten compile error fixes from previous commit

This commit is contained in:
TCY16
2021-09-20 11:42:39 +02:00
parent 4d15603a8c
commit 4df2965459
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -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 */