Add proxy support for ICMP echo request

This commit is contained in:
世界 committed 2026-01-17 05:44:41 +08:00
1 parent 44fafcef73
commit f84129ca79
26 files changed
+676 -163

No files matched your search

+1
View File
@@ -282,6 +282,7 @@ func (r *RejectActionOptions) UnmarshalJSON(bytes []byte) error {
case "", C.RuleActionRejectMethodDefault:
r.Method = C.RuleActionRejectMethodDefault
case C.RuleActionRejectMethodDrop:
case C.RuleActionRejectMethodReply:
default:
return E.New("unknown reject method: " + r.Method)
}