summaryrefslogtreecommitdiffstats
path: root/src/receive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/receive.c')
-rw-r--r--src/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c
index a8ec1ce..4ebd185 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -132,7 +132,7 @@ static inline void handle_socket_receive_known(fastd_socket_t *sock, const fastd
}
static inline bool allow_unknown_peers(void) {
- return conf.has_floating || fastd_shell_command_isset(&conf.on_verify);
+ return conf.has_floating || fastd_allow_verify();
}
static inline void handle_socket_receive_unknown(fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, fastd_buffer_t buffer) {