1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-02-21 17:13:22 +00:00
2016-11-23 13:23:33 -06:00

21 lines
278 B
C

#include <ks.h>
#include <tap.h>
int main(int argc, char *argv[])
{
char ip[80] = "";
ks_init();
if (argc > 1) {
ks_ip_route(ip, sizeof(ip), argv[1]);
printf("IPS [%s]\n", ip);
} else {
fprintf(stderr, "Missing arg <ip>\n");
}
ks_shutdown();
done_testing();
}