summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net.h b/include/net.h
index 34f557a..ce8c8e2 100644
--- a/include/net.h
+++ b/include/net.h
@@ -22,7 +22,7 @@
#ifndef NET_H_INCLUDED
#define NET_H_INCLUDED
-#define dgsize 512
+#define MTU 1500
enum response {
ERROR = -1,
@@ -36,6 +36,6 @@ enum response {
int net_init(const unsigned short int port);
int net_close(int nd);
-int net_getlastdata(int nd, char * const data);
+int net_getlastdata(int nd, char ** const data);
#endif /* NET_H_INCLUDED */