Skip to content

Commit 73af636

Browse files
authored
Merge pull request #36 from redBorder/development
Release 4.1.0
2 parents 5539cc0 + 9ea8f48 commit 73af636

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.1
1+
4.1.0

util.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ import (
1818
// it will try to decode as an integer (using atoi). If both methods fails it
1919
// will return an error.
2020
func getDeviceType(alias string) (deviceType int, err error) {
21-
var aliasMap = map[string]int{
22-
"ap": 20,
23-
"proxy": 31,
24-
"ips": 32,
25-
"ips-generic": 33,
26-
"exporter": 41,
27-
}
21+
var aliasMap = map[string]int{
22+
"ap": 20,
23+
"proxy": 31,
24+
"ips": 32,
25+
"ips-generic": 33,
26+
"exporter": 41,
27+
"intrusion-proxy": 98,
28+
}
2829

2930
// Check device type arg
3031
if len(alias) == 0 {

0 commit comments

Comments
 (0)