diff options
Diffstat (limited to 'accel-pptpd/utils.c')
-rw-r--r-- | accel-pptpd/utils.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/accel-pptpd/utils.c b/accel-pptpd/utils.c new file mode 100644 index 00000000..fd59b005 --- /dev/null +++ b/accel-pptpd/utils.c @@ -0,0 +1,10 @@ +#include <stdio.h> + +#include "triton.h" +#include "utils.h" + + +void __export u_inet_ntoa(in_addr_t addr, char *str) +{ + sprintf(str, "%i.%i.%i.%i", addr & 0xff, (addr >> 8) & 0xff, (addr >> 16) & 0xff, (addr >> 24) & 0xff); +} |