We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a1ca5 commit c894d44Copy full SHA for c894d44
nflog.go
@@ -113,6 +113,11 @@ func (nflog *Nflog) Close() error {
113
return err
114
}
115
116
+// SetOption allows to enable or disable netlink socket options.
117
+func (nflog *Nflog) SetOption(o netlink.ConnOption, enable bool) error {
118
+ return nflog.Con.SetOption(o, enable)
119
+}
120
+
121
// Register your own function as callback for a netfilter log group.
122
// Errors other than net.Timeout() will be reported via the provided log interface
123
// and the receiving of netfilter log messages will be stopped.
0 commit comments