projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac48c4e
)
Add missing ICMP message type definitions.
author
Nick Hibma
<nick@van-laarhoven.org>
Tue, 21 Feb 2012 14:26:58 +0000
(15:26 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 21 Feb 2012 16:16:21 +0000
(17:16 +0100)
lib/ipv4.h
patch
|
blob
|
history
diff --git
a/lib/ipv4.h
b/lib/ipv4.h
index 940c239c985737669802aca300d80c34f78369af..57d236d33115f901ce2087834917b4214bf42826 100644
(file)
--- a/
lib/ipv4.h
+++ b/
lib/ipv4.h
@@
-41,6
+41,14
@@
#define ICMP_NET_UNKNOWN 6
#endif
+#ifndef ICMP_TIME_EXCEEDED
+#define ICMP_TIME_EXCEEDED 11
+#endif
+
+#ifndef ICMP_EXC_TTL
+#define ICMP_EXC_TTL 0
+#endif
+
#ifndef ICMP_NET_UNREACH
#define ICMP_NET_UNREACH 0
#endif