curvetun, astraceroute: don't show header as in netsniff-ng
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 30 Jan 2013 17:37:38 +0000 (30 18:37 +0100)
committerDaniel Borkmann <dborkman@redhat.com>
Wed, 30 Jan 2013 17:37:38 +0000 (30 18:37 +0100)
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
astraceroute.c
curvetun.c

index fe1779f..6bf94f3 100644 (file)
@@ -184,12 +184,6 @@ static void signal_handler(int number)
        }
 }
 
-static void header(void)
-{
-       printf("%s%s%s\n", colorize_start(bold), "astraceroute "
-              VERSION_STRING, colorize_end());
-}
-
 static void help(void)
 {
 
@@ -1142,8 +1136,6 @@ int main(int argc, char **argv)
 
        register_signal(SIGHUP, signal_handler);
 
-       header();
-
        tprintf_init();
 
        ret = aslookup_prepare(cfg.whois, cfg.whois_port);
index 531f958..f629436 100644 (file)
@@ -111,12 +111,6 @@ static void signal_handler(int number)
        }
 }
 
-static void header(void)
-{
-       printf("%s%s%s\n", colorize_start(bold), "curvetun "
-              VERSION_STRING, colorize_end());
-}
-
 static void help(void)
 {
        printf("\ncurvetun %s, lightweight curve25519-based VPN/IP tunnel\n",
@@ -677,8 +671,6 @@ int main(int argc, char **argv)
        register_signal(SIGTERM, signal_handler);
        register_signal(SIGPIPE, signal_handler);
 
-       header();
-
        curve25519_selftest();
 
        switch (wmode) {