projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- add 2s for new state, reduce buffer
[oweals/gnunet.git]
/
src
/
vpn
/
gnunet-helper-vpn.c
diff --git
a/src/vpn/gnunet-helper-vpn.c
b/src/vpn/gnunet-helper-vpn.c
index 7c09827eedf9037c826163cd707fff9f9d1e1d01..57e5008e0e81a29df548395a02d31ac81ba985f5 100644
(file)
--- a/
src/vpn/gnunet-helper-vpn.c
+++ b/
src/vpn/gnunet-helper-vpn.c
@@
-38,6
+38,7
@@
/**
* Need 'struct GNUNET_MessageHeader'.
*/
+#include "gnunet_crypto_lib.h"
#include "gnunet_common.h"
/**
@@
-584,7
+585,7
@@
main (int argc, char **argv)
set_address4 (dev, address, mask);
}
-
+
uid_t uid = getuid ();
#ifdef HAVE_SETRESUID
if (0 != setresuid (uid, uid, uid))