diff options
-rw-r--r-- | src/core/test_core_api_send_to_self.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api_send_to_self.c b/src/core/test_core_api_send_to_self.c index 29b1f75f3..4346acbd7 100644 --- a/src/core/test_core_api_send_to_self.c +++ b/src/core/test_core_api_send_to_self.c | |||
@@ -113,7 +113,7 @@ send_message (void *cls, size_t size, void *buf) | |||
113 | struct GNUNET_MessageHeader *hdr = buf; | 113 | struct GNUNET_MessageHeader *hdr = buf; |
114 | 114 | ||
115 | hdr->size = htons (sizeof (struct GNUNET_MessageHeader)); | 115 | hdr->size = htons (sizeof (struct GNUNET_MessageHeader)); |
116 | hdr->type = htons (GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP); | 116 | hdr->type = htons (GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE); |
117 | return ntohs (hdr->size); | 117 | return ntohs (hdr->size); |
118 | } | 118 | } |
119 | 119 | ||
@@ -163,7 +163,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
163 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 163 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
164 | { | 164 | { |
165 | const static struct GNUNET_CORE_MessageHandler handlers[] = { | 165 | const static struct GNUNET_CORE_MessageHandler handlers[] = { |
166 | {&receive, GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP, 0}, | 166 | {&receive, GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE, 0}, |
167 | {NULL, 0, 0} | 167 | {NULL, 0, 0} |
168 | }; | 168 | }; |
169 | 169 | ||