aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/netfilter.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/netfilter.go')
-rw-r--r--internal/rosa/netfilter.go12
1 files changed, 3 insertions, 9 deletions
diff --git a/internal/rosa/netfilter.go b/internal/rosa/netfilter.go
index f8cb68d2..4ac70878 100644
--- a/internal/rosa/netfilter.go
+++ b/internal/rosa/netfilter.go
@@ -39,9 +39,7 @@ index d223ac2..a7878d0 100644
), version
}
func init() {
- native.MustRegister(&Artifact{
- f: Toolchain.newLibmnl,
-
+ native.mustRegister(Toolchain.newLibmnl, &Metadata{
Name: "libmnl",
Description: "a minimalistic user-space library oriented to Netlink developers",
Website: "https://www.netfilter.org/projects/libmnl/",
@@ -77,9 +75,7 @@ func (t Toolchain) newLibnftnl() (pkg.Artifact, string) {
), version
}
func init() {
- native.MustRegister(&Artifact{
- f: Toolchain.newLibnftnl,
-
+ native.mustRegister(Toolchain.newLibnftnl, &Metadata{
Name: "libnftnl",
Description: "a userspace library providing a low-level netlink API to the in-kernel nf_tables subsystem",
Website: "https://www.netfilter.org/projects/libnftnl/",
@@ -131,9 +127,7 @@ chmod +w /etc/ && ln -s ../usr/src/iptables/etc/ethertypes /etc/
), version
}
func init() {
- native.MustRegister(&Artifact{
- f: Toolchain.newIPTables,
-
+ native.mustRegister(Toolchain.newIPTables, &Metadata{
Name: "iptables",
Description: "the userspace command line program used to configure the Linux 2.4.x and later packet filtering ruleset",
Website: "https://www.netfilter.org/projects/iptables/",