From 76615aa33fb294f2fdfdee3e4687de94bb5efce9 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Mon, 23 Aug 2010 13:36:50 +0400 Subject: implemented base IPCP module implemented IP-Address configuration option --- accel-pptpd/ipdb.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 accel-pptpd/ipdb.c (limited to 'accel-pptpd/ipdb.c') diff --git a/accel-pptpd/ipdb.c b/accel-pptpd/ipdb.c new file mode 100644 index 0000000..fb13971 --- /dev/null +++ b/accel-pptpd/ipdb.c @@ -0,0 +1,10 @@ +#include "ipdb.h" + +int ipdb_get(in_addr_t *addr, in_addr_t *peer_addr) +{ + *addr=inet_addr("192.168.200.100"); + *peer_addr=inet_addr("192.168.200.200"); + + return 0; +} + -- cgit v1.2.3