You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
492 B
12 lines
492 B
Index: src/in_sysctl.c |
|
--- src/in_sysctl.c.orig 2016-07-20 09:23:11.352195000 +0200 |
|
+++ src/in_sysctl.c 2016-07-20 09:24:03.382118081 +0200 |
|
@@ -232,7 +232,7 @@ |
|
snprintf(info_buf, sizeof(info_buf), "%ju", (uintmax_t)ifm->ifm_data.ifi_metric); |
|
element_update_info(e, "Metric", info_buf); |
|
|
|
-#ifndef __NetBSD__ |
|
+#if !defined(__NetBSD__) && !defined(__FreeBSD__) |
|
snprintf(info_buf, sizeof(info_buf), "%u", ifm->ifm_data.ifi_recvquota); |
|
element_update_info(e, "RX-Quota", info_buf); |
|
|
|
|