ptpd/ptpd2-net-snmp_U64.patch

24 lines
739 B
Diff
Raw Permalink Normal View History

From 1886522b50fe44e5c0dedd01d13ac456b941f744 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: Tue, 12 Jul 2016 18:07:08 +0200
Subject: [PATCH] Solve issue #25 - Removing type U64 from net-snmp related
code
---
src/dep/snmp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: src/dep/snmp.c
===================================================================
--- src/dep/snmp.c.orig
+++ src/dep/snmp.c
@@ -221,7 +221,7 @@ snmpHeaderIndexBest(struct snmpHeaderInd
#define SNMP_LOCAL_VARIABLES \
static unsigned long long_ret; \
- static U64 counter64_ret; \
+ static struct counter64 counter64_ret; \
static uint32_t ipaddr; \
Integer64 bigint; \
struct snmpHeaderIndex idx; \