MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / AddDropChain

Method AddDropChain

internal/firewalls/nftables/table.go:77–80  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

75}
76
77func (this *Table) AddDropChain(name string) (*Chain, error) {
78 var policy = ChainPolicyDrop
79 return this.AddChain(name, &policy)
80}
81
82func (this *Table) DeleteChain(name string) error {
83 chain, err := this.GetChain(name)

Callers

nothing calls this directly

Calls 1

AddChainMethod · 0.95

Tested by

no test coverage detected