aboutsummaryrefslogtreecommitdiff
path: root/cvss/v3metric.go
diff options
context:
space:
mode:
Diffstat (limited to 'cvss/v3metric.go')
-rw-r--r--cvss/v3metric.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cvss/v3metric.go b/cvss/v3metric.go
index fc4c860..df408fd 100644
--- a/cvss/v3metric.go
+++ b/cvss/v3metric.go
@@ -78,7 +78,7 @@ const (
v3MACLow // MAC:L
v3MACHigh // MAC:H
- v3MMRNotDefined // MPR:X
+ v3MPRNotDefined // MPR:X
v3MPRLow // MPR:L
v3MPRHigh // MPR:H
@@ -182,7 +182,7 @@ var v3KeyLut = map[v3Metric]v3Key {
v3MACLow: v3ModifiedAttackComplexity, // MAC:L
v3MACHigh: v3ModifiedAttackComplexity, // MAC:H
- v3MMRNotDefined: v3ModifiedPrivilegesRequired, // MPR:X
+ v3MPRNotDefined: v3ModifiedPrivilegesRequired, // MPR:X
v3MPRLow: v3ModifiedPrivilegesRequired, // MPR:L
v3MPRHigh: v3ModifiedPrivilegesRequired, // MPR:H
@@ -284,7 +284,7 @@ var v3MetricStrLut = map[string]v3Metric {
"MAC:L": v3MACLow,
"MAC:H": v3MACHigh,
- "MPR:X": v3MMRNotDefined,
+ "MPR:X": v3MPRNotDefined,
"MPR:L": v3MPRLow,
"MPR:H": v3MPRHigh,