X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.h;h=888a70c28c51330d5aa4ccccb595c8ba28aeb10f;hb=d93d4f9dbd09bc5e53a9b5eeb1cc94939fee32bc;hp=8e256ce76aff54b66f8c25dd40c41245121060e4;hpb=3d787920d51a35e74e442c7265be3b13b69ad8e4;p=tinc diff --git a/src/net.h b/src/net.h index 8e256ce7..888a70c2 100644 --- a/src/net.h +++ b/src/net.h @@ -199,7 +199,7 @@ extern void send_packet(struct node_t *n, vpn_packet_t *packet); extern void receive_tcppacket(struct connection_t *c, const char *buffer, size_t length); extern bool receive_tcppacket_sptps(struct connection_t *c, const char *buffer, size_t length); extern void broadcast_packet(const struct node_t *n, vpn_packet_t *packet); -extern char *get_name(void); +extern char *get_name(void) ATTR_MALLOC; extern void device_enable(void); extern void device_disable(void); extern bool setup_myself_reloadable(void);