From: Florian Forster Date: Tue, 26 Oct 2010 13:47:49 +0000 (+0200) Subject: ping_receive_one: Fix a typo. X-Git-Tag: liboping-1.5.0~3^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9504010de8e5dd8cade6ab377e7d29391928408a;p=liboping.git ping_receive_one: Fix a typo. --- diff --git a/src/liboping.c b/src/liboping.c index 96a54cc..8de2464 100644 --- a/src/liboping.c +++ b/src/liboping.c @@ -532,7 +532,7 @@ static int ping_receive_one (pingobj_t *obj, const pinghost_t *ph, if (cmsg->cmsg_level != IPPROTO_IPV6) continue; - if (cmsg->cmsg_type == IPV6_RECVTCLASS) + if (cmsg->cmsg_type == IPV6_TCLASS) { memcpy (&recv_tos, CMSG_DATA (cmsg), sizeof (recv_tos));