summaryrefslogtreecommitdiff
path: root/src/minidentd/mgetuid-default.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-15 23:08:59 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-15 23:08:59 +0000
commite0fc82203d677a6f1e808e9a1a46176c109d89be (patch)
treee9609209b755e3f7a8480aea86601ffe9d4ca540 /src/minidentd/mgetuid-default.c
downloads6-networking-e0fc82203d677a6f1e808e9a1a46176c109d89be.tar.xz
Initial commit
Diffstat (limited to 'src/minidentd/mgetuid-default.c')
-rw-r--r--src/minidentd/mgetuid-default.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/minidentd/mgetuid-default.c b/src/minidentd/mgetuid-default.c
new file mode 100644
index 0000000..6c9ae9b
--- /dev/null
+++ b/src/minidentd/mgetuid-default.c
@@ -0,0 +1,15 @@
+/* ISC license. */
+
+#include <errno.h>
+#include <skalibs/uint16.h>
+#include <skalibs/uint32.h>
+#include "mgetuid.h"
+
+int mgetuid (ip46_t const *localaddr, uint16 localport, ip46_t const *remoteaddr, uint16 remoteport)
+{
+ (void)localaddr ;
+ (void)localport ;
+ (void)remoteaddr ;
+ (void)remoteport ;
+ return (errno = ENOSYS, -2) ;
+}