google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.63k stars 511 forks source link

ncc/iptables.go: properly type iptAction consts #67

Closed DrJosh9000 closed 4 years ago

DrJosh9000 commented 4 years ago

In this const block, where the expression is not omitted, implicit repetition does not apply, so the consts aren't of iptAction type. The type must be specified.