]> git.tue.mpg.de Git - paraslash.git/commitdiff
02_udp-sender-info.diff
authorGerrit Renker <grenker@cscs.ch>
Thu, 25 Feb 2010 16:05:44 +0000 (17:05 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 25 Feb 2010 16:05:44 +0000 (17:05 +0100)
udp sender: simplify port information of 'si' command

The 'udp' information is already in the transport protocol name,
hence removed by this patch.

http sender:
status: on
port: 8000
...
dccp sender:
status: on
port: 8000
...
udp sender:
status: on
port: udp 8000

For DCCP, the case is similar, http relies on TCP.

udp_send.c

index 273b6a42e4c26e21abf4211a7e528ba5a7629a9c..77b5819b86c767f607cf226310395d97cb5c4d17 100644 (file)
@@ -303,7 +303,7 @@ static char *udp_info(void)
        ret = make_message(
                "udp sender:\n"
                "\tstatus: %s\n"
-               "\tport: udp %d\n"
+               "\tport: %d\n"
                "\ttargets: %s\n",
                (sender_status == SENDER_ON)? "on" : "off",
                conf.udp_default_port_arg,