summaryrefslogtreecommitdiff
path: root/accel-pptpd/utils.c
blob: fd59b005547a09e575a4b9680ff56a2007fa55b5 (plain)
1
2
3
4
5
6
7
8
9
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);
}