[mpd] apply trusted_networks to MPD

This commit is contained in:
Wolfgang Scherer
2017-11-14 01:50:06 +01:00
committed by ejurgensen
parent ef767a08a4
commit 69ff42fc6a
3 changed files with 52 additions and 12 deletions

View File

@@ -147,6 +147,9 @@ httpd_redirect_to_admin(struct evhttp_request *req);
void
httpd_redirect_to_index(struct evhttp_request *req, const char *uri);
bool
peer_address_is_trusted(const char *addr);
bool
httpd_peer_is_trusted(struct evhttp_request *req);