aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/firewall/rules.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/firewall/rules.go')
-rw-r--r--service/firewall/rules.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/service/firewall/rules.go b/service/firewall/rules.go
index 7fc5bef4..c2ba4b28 100644
--- a/service/firewall/rules.go
+++ b/service/firewall/rules.go
@@ -611,7 +611,7 @@ func permitNdp(session uintptr, baseObjects *baseObjects, weight uint8) error {
conditions[0].fieldKey = cFWPM_CONDITION_IP_PROTOCOL
conditions[0].matchType = cFWP_MATCH_EQUAL
conditions[0].conditionValue._type = cFWP_UINT8
- conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMP)
+ conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMPV6)
conditions[1].fieldKey = cFWPM_CONDITION_ICMP_TYPE
conditions[1].matchType = cFWP_MATCH_EQUAL
@@ -650,7 +650,7 @@ func permitNdp(session uintptr, baseObjects *baseObjects, weight uint8) error {
conditions[0].fieldKey = cFWPM_CONDITION_IP_PROTOCOL
conditions[0].matchType = cFWP_MATCH_EQUAL
conditions[0].conditionValue._type = cFWP_UINT8
- conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMP)
+ conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMPV6)
conditions[1].fieldKey = cFWPM_CONDITION_ICMP_TYPE
conditions[1].matchType = cFWP_MATCH_EQUAL
@@ -689,7 +689,7 @@ func permitNdp(session uintptr, baseObjects *baseObjects, weight uint8) error {
conditions[0].fieldKey = cFWPM_CONDITION_IP_PROTOCOL
conditions[0].matchType = cFWP_MATCH_EQUAL
conditions[0].conditionValue._type = cFWP_UINT8
- conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMP)
+ conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMPV6)
conditions[1].fieldKey = cFWPM_CONDITION_ICMP_TYPE
conditions[1].matchType = cFWP_MATCH_EQUAL
@@ -729,7 +729,7 @@ func permitNdp(session uintptr, baseObjects *baseObjects, weight uint8) error {
conditions[0].fieldKey = cFWPM_CONDITION_IP_PROTOCOL
conditions[0].matchType = cFWP_MATCH_EQUAL
conditions[0].conditionValue._type = cFWP_UINT8
- conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMP)
+ conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMPV6)
conditions[1].fieldKey = cFWPM_CONDITION_ICMP_TYPE
conditions[1].matchType = cFWP_MATCH_EQUAL
@@ -769,7 +769,7 @@ func permitNdp(session uintptr, baseObjects *baseObjects, weight uint8) error {
conditions[0].fieldKey = cFWPM_CONDITION_IP_PROTOCOL
conditions[0].matchType = cFWP_MATCH_EQUAL
conditions[0].conditionValue._type = cFWP_UINT8
- conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMP)
+ conditions[0].conditionValue.value = uintptr(cIPPROTO_ICMPV6)
conditions[1].fieldKey = cFWPM_CONDITION_ICMP_TYPE
conditions[1].matchType = cFWP_MATCH_EQUAL