projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix sparse warnings and add an extra sprinkling of const.
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
c7efa88
..
062523e
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-365,7
+365,7
@@
static void receive_udppacket(node_t *n, vpn_packet_t *inpkt) {
receive_packet(n, inpkt);
}
-void receive_tcppacket(connection_t *c, char *buffer, int len) {
+void receive_tcppacket(connection_t *c, c
onst c
har *buffer, int len) {
vpn_packet_t outpkt;
outpkt.len = len;