satellite/metainfo: remove Gateway-ST library name from UserAgent string
When trimming the UserAgent string, Library names such as Gateway-ST should be removed. Change-Id: I3d71fa8514364bf1d4d79b0dc00c85aed337ab45
This commit is contained in:
parent
c8c4e8835e
commit
9a37399346
@ -82,7 +82,7 @@ func TrimUserAgent(userAgent []byte) ([]byte, error) {
|
||||
newEntries := userAgentEntries[:0]
|
||||
for _, e := range userAgentEntries {
|
||||
switch product := e.Product; product {
|
||||
case "uplink", "common", "drpc", "":
|
||||
case "uplink", "common", "drpc", "Gateway-ST", "":
|
||||
default:
|
||||
e.Comment = ""
|
||||
newEntries = append(newEntries, e)
|
||||
|
Loading…
Reference in New Issue
Block a user