From 9289a28cc71f6e2164670ed386136e401d34c23e Mon Sep 17 00:00:00 2001 From: dv1tas Date: Mon, 28 Nov 2011 15:07:01 +0000 Subject: [PATCH] Misc typos git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@22 fbe50366-0c72-4402-a84b-5d246361dba7 --- ctl_functions.h | 2 +- ctl_main.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ctl_functions.h b/ctl_functions.h index 1af6000..ea2d7e6 100644 --- a/ctl_functions.h +++ b/ctl_functions.h @@ -57,7 +57,7 @@ typedef struct _log_string #define MSTP_SERVER_SOCK_NAME ".mstp_server" -/* Commands sent from bridge-stp script needs this flag */ +/* Commands sent from bridge-stp script need this flag */ #define RESPONSE_FIRST_HANDLE_LATER 0x10000 /* COMMANDS */ diff --git a/ctl_main.c b/ctl_main.c index 0d8cc8c..ac54a24 100644 --- a/ctl_main.c +++ b/ctl_main.c @@ -305,7 +305,6 @@ static int cmd_showbridge(int argc, char *const *argv) } else { - /* TODO: use versionsort, if available */ count = scandir(SYSFS_CLASS_NET, &namelist, isbridge, sorting_func); if(0 > count) { @@ -362,7 +361,7 @@ static int cmd_showtree(int argc, char *const *argv) printf("none\n"); printf(" internal path cost %u\n", s.internal_path_cost); printf(" time since topology change %u\n", s.time_since_topology_change); - printf(" toplogy change count %u\n", s.topology_change_count); + printf(" topology change count %u\n", s.topology_change_count); printf(" topology change %s\n", BOOL_STR(s.topology_change)); return 0; @@ -669,7 +668,6 @@ static int cmd_showport(int argc, char *const *argv) { char buf[SYSFS_PATH_MAX]; snprintf(buf, sizeof(buf), SYSFS_CLASS_NET "/%s/brif", argv[1]); - /* TODO: use versionsort, if available */ count = scandir(buf, &namelist, not_dot_dotdot, sorting_func); if(0 > count) { -- 2.47.2