diff --git a/src/admin.c b/src/admin.c index 73a3b951..9a75b3bc 100644 --- a/src/admin.c +++ b/src/admin.c @@ -695,6 +695,9 @@ static inline xmlNodePtr __add_listener(client_t *client, case ICECAST_PROTOCOL_SHOUTCAST: xmlNewTextChild(node, NULL, XMLSTR("protocol"), XMLSTR("icy")); break; + case ICECAST_PROTOCOL_GOPHER: + xmlNewTextChild(node, NULL, XMLSTR("protocol"), XMLSTR("gopher")); + break; } return node; diff --git a/src/client.h b/src/client.h index f097fa67..e071ea08 100644 --- a/src/client.h +++ b/src/client.h @@ -31,7 +31,8 @@ typedef enum _protocol_tag { ICECAST_PROTOCOL_HTTP = 0, - ICECAST_PROTOCOL_SHOUTCAST + ICECAST_PROTOCOL_SHOUTCAST, + ICECAST_PROTOCOL_GOPHER, } protocol_t; typedef enum _reuse_tag {