summaryrefslogtreecommitdiff
path: root/ip/ip.c
blob: b4de3b3f5eb831b7ff88b9b56751166d5e29c539 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* $Id$ */

#include <stdio.h>
#include <stdlib.h>

int
main()
{
	char	*ra = getenv("REMOTE_ADDR");

	printf("Content-type: %s\r\n\r\n", "text/plain");

	if (ra)
		puts(ra);

	return 0;
}