mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
- Changelog: https://github.com/tgraf/bmon/blob/master/NEWS PR: 219392 Reported by: Eric Camachat Approved by: michelle@sorbs.net (maintainer timeout, 2 weeks), miwi (mentor) Differential Revision: https://reviews.freebsd.org/D11038
11 lines
488 B
C
11 lines
488 B
C
--- src/in_sysctl.c.orig 2017-05-18 12:03:29.320093000 -0700
|
|
+++ src/in_sysctl.c 2017-05-18 12:17:31.135080000 -0700
|
|
@@ -232,7 +232,7 @@ sysctl_read(void)
|
|
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);
|
|
|