fix upnp_get_portmapping_number_of_entries() prototype ;)

This commit is contained in:
Thomas Bernard 2024-03-19 23:32:36 +01:00
parent 177c3ad915
commit daaaa60ce9
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ upnp_delete_redirection(unsigned short eport, const char * protocol)
/* upnp_get_portmapping_number_of_entries() */ /* upnp_get_portmapping_number_of_entries() */
int int
upnp_get_portmapping_number_of_entries() upnp_get_portmapping_number_of_entries(void)
{ {
#if defined(USE_PF) || defined(USE_NFTABLES) #if defined(USE_PF) || defined(USE_NFTABLES)
return get_redirect_rule_count(ext_if_name); return get_redirect_rule_count(ext_if_name);