mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
13 lines
311 B
Diff
13 lines
311 B
Diff
--- a/zebra/zebra_netns_notify.c
|
|
+++ b/zebra/zebra_netns_notify.c
|
|
@@ -34,6 +34,9 @@
|
|
|
|
#ifdef HAVE_NETLINK
|
|
|
|
+#define basename(path) \
|
|
+ (strrchr((path),'/') ? strrchr((path),'/')+1 : (path))
|
|
+
|
|
/* upon creation of folder under /var/run/netns,
|
|
* wait that netns context is bound to
|
|
* that folder 10 seconds
|