]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use correct values for request / reply
authorAlan T. DeKok <aland@freeradius.org>
Tue, 19 May 2020 12:24:38 +0000 (08:24 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 19 May 2020 12:24:49 +0000 (08:24 -0400)
src/modules/rlm_icmp/rlm_icmp.c

index 680d3585b3ba2c8c10c1dbacf8b393343d2373c9..773e20e89123ff1a6a3301fa1c81f714799f5cc3 100644 (file)
@@ -85,8 +85,8 @@ typedef struct CC_HINT(__packed__) {
 #define ICMP_ECHOREPLY         (0)
 #define ICMP_ECHOREQUEST       (8)
 
-#define ICMPV6_ECHOREPLY       (128)
-#define ICMPV6_ECHOREQUEST     (129)
+#define ICMPV6_ECHOREQUEST     (128)
+#define ICMPV6_ECHOREPLY       (129)
 
 /*
  *     ICMP checksum is just over the ICMP packet.