From 08991474f5e5c8208287f13351b7c25ff73acfb3 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 26 Oct 2010 15:11:24 +0200 Subject: [PATCH] =?utf8?q?Rename=20"PING=5FINFO=5FTOS"=20=E2=86=92=20"PING?= =?utf8?q?=5FINFO=5FRECV=5FTOS".?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/liboping.c | 2 +- src/oping.c | 2 +- src/oping.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/liboping.c b/src/liboping.c index b0a9e5b..d5e1ffc 100644 --- a/src/liboping.c +++ b/src/liboping.c @@ -1738,7 +1738,7 @@ int ping_iterator_get_info (pingobj_iter_t *iter, int info, ret = 0; break; - case PING_INFO_TOS: + case PING_INFO_RECV_TOS: ret = ENOMEM; if (*buffer_len>sizeof(unsigned)) *buffer_len=sizeof(unsigned); if (!*buffer_len) *buffer_len=1; diff --git a/src/oping.c b/src/oping.c index b971cb7..313b83d 100644 --- a/src/oping.c +++ b/src/oping.c @@ -653,7 +653,7 @@ static void update_host_hook (pingobj_iter_t *iter, /* {{{ */ recv_tos = 0; buffer_len = sizeof (recv_tos); - ping_iterator_get_info (iter, PING_INFO_TOS, + ping_iterator_get_info (iter, PING_INFO_RECV_TOS, &recv_tos, &buffer_len); data_len = 0; diff --git a/src/oping.h b/src/oping.h index 8d858fb..1ce94aa 100644 --- a/src/oping.h +++ b/src/oping.h @@ -85,7 +85,7 @@ pingobj_iter_t *ping_iterator_next (pingobj_iter_t *iter); #define PING_INFO_USERNAME 8 #define PING_INFO_DROPPED 9 #define PING_INFO_RECV_TTL 10 -#define PING_INFO_TOS 11 +#define PING_INFO_RECV_TOS 11 int ping_iterator_get_info (pingobj_iter_t *iter, int info, void *buffer, size_t *buffer_len); -- 2.30.2