#include "namespace.h"
#include "color.h"
#include "rt_names.h"
+#include "bpf_util.h"
int preferred_family = AF_UNSPEC;
int human_readable;
int main(int argc, char **argv)
{
- char *basename;
+ const char *libbpf_version;
char *batch_file = NULL;
+ char *basename;
int color = 0;
/* to run vrf exec without root, capabilities might be set, drop them
++timestamp;
++timestamp_short;
} else if (matches(opt, "-Version") == 0) {
- printf("ip utility, iproute2-%s\n", version);
+ printf("ip utility, iproute2-%s", version);
+ libbpf_version = get_libbpf_version();
+ if (libbpf_version)
+ printf(", libbpf %s", libbpf_version);
+ printf("\n");
exit(0);
} else if (matches(opt, "-force") == 0) {
++force;