diff options
| author | Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> | 2026-04-16 22:40:02 +0000 |
|---|---|---|
| committer | Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> | 2026-04-16 22:47:59 +0000 |
| commit | 19887b9c4cec9c6468481ef415bbf94f68592856 (patch) | |
| tree | a3d1aa81c8753b6838f06949494bc2983fe24e15 | |
| parent | a249ddf07873be97967dd83df4d098ea95d0c92a (diff) | |
ifconfig: Do not build geneve with WITHOUT_NETLINK_SUPPORT
geneve(4) is netlink-only, therefore, don't build it with
WITHOUT_NETLINK_SUPPORT=1 set.
Reported by: kp
Fixes: 688e289ee904 ("ifconfig: Add support for geneve (netlink)")
Differential Revision: https://reviews.freebsd.org/D55184
| -rw-r--r-- | sbin/ifconfig/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile index cc518693c2f5..26391023d54a 100644 --- a/sbin/ifconfig/Makefile +++ b/sbin/ifconfig/Makefile @@ -30,7 +30,6 @@ SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support SRCS+= iffib.c # non-default FIB support SRCS+= ifvlan.c # SIOC[GS]ETVLAN support SRCS+= ifvxlan.c # VXLAN support -SRCS+= ifgeneve.c # GENEVE support SRCS+= ifgre.c # GRE keys etc SRCS+= ifgif.c # GIF reversed header workaround SRCS+= ifipsec.c # IPsec VTI @@ -67,6 +66,7 @@ LIBADD+= nv .if ${MK_NETLINK_SUPPORT} != "no" SRCS+= ifconfig_netlink.c +SRCS+= ifgeneve.c # GENEVE support .else CFLAGS+=-DWITHOUT_NETLINK .endif |
