forked from antirez/hping
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversion.c
More file actions
29 lines (24 loc) · 660 Bytes
/
version.c
File metadata and controls
29 lines (24 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* $smu-mark$
* $name: version.c$
* $author: Salvatore Sanfilippo <antirez@invece.org>$
* $copyright: Copyright (C) 1999 by Salvatore Sanfilippo$
* $license: This software is under GPL version 2 of license$
* $date: Fri Nov 5 11:55:50 MET 1999$
* $rev: 8$
*/
/* $Id: version.c,v 1.3 2004/04/09 23:38:56 antirez Exp $ */
#include <stdlib.h>
#include <stdio.h>
#include "release.h"
#include "hping2.h"
void show_version(void)
{
printf("hping version %s (%s)\n", RELEASE_VERSION, RELEASE_DATE);
#ifdef USE_TCL
printf("This binary is TCL scripting capable\n");
#else
printf("NO TCL scripting support compiled in\n");
#endif
exit(0);
}