From 949b8a77532ae1076171f4d112a5eb41354cb340 Mon Sep 17 00:00:00 2001 From: Julien LEICHER Date: Mon, 31 Oct 2016 19:15:47 +0100 Subject: [PATCH] Fix for max-age (#13) * Fix for max-age with space * Changed ? to * for multiple spaces --- ssdp/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssdp/registry.go b/ssdp/registry.go index 2f84bea..d3bc114 100644 --- a/ssdp/registry.go +++ b/ssdp/registry.go @@ -18,7 +18,7 @@ const ( ) var ( - maxAgeRx = regexp.MustCompile("max-age=([0-9]+)") + maxAgeRx = regexp.MustCompile("max-age= *([0-9]+)") ) const (