aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-17 14:17:18 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-01-17 14:17:18 +0100
commit4fac842826df642308c2ca3dbfe4f047f7af11a2 (patch)
treef1f75fe2a47adc221e2ad3fc3c42cbb9b6ecfedc
parent97f60e3dca581797007524e0006ca9fafad59713 (diff)
Fix typos in comments and VTY descriptionsHEADmaster
-rw-r--r--ggsn/ggsn.h6
-rw-r--r--ggsn/ggsn_vty.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/ggsn/ggsn.h b/ggsn/ggsn.h
index 46f8778..1abbc9a 100644
--- a/ggsn/ggsn.h
+++ b/ggsn/ggsn.h
@@ -66,9 +66,9 @@ struct apn_ctx {
uint32_t apn_type_mask;
/* GTP-U via TUN device or in Linux kernel */
enum apn_gtpu_mode gtpu_mode;
- /* administratively shut-down (true) or not (false) */
+ /* administratively shut down (true) or not (false) */
bool shutdown;
- /* transmit G-PDU sequeence numbers (true) or not (false) */
+ /* transmit G-PDU sequence numbers (true) or not (false) */
bool tx_gpdu_seq;
} cfg;
@@ -128,7 +128,7 @@ struct ggsn_ctx {
char *state_dir;
/* Time between Echo requests on each SGSN */
unsigned int echo_interval;
- /* administratively shut-down (true) or not (false) */
+ /* administratively shut down (true) or not (false) */
bool shutdown;
} cfg;
diff --git a/ggsn/ggsn_vty.c b/ggsn/ggsn_vty.c
index fb0caa2..2d49a94 100644
--- a/ggsn/ggsn_vty.c
+++ b/ggsn/ggsn_vty.c
@@ -299,7 +299,7 @@ DEFUN(cfg_ggsn_no_default_apn, cfg_ggsn_no_default_apn_cmd,
DEFUN(cfg_ggsn_shutdown, cfg_ggsn_shutdown_cmd,
"shutdown ggsn",
- "Put the GGSN in administrative shut-down\n" GGSN_STR)
+ "Put the GGSN in administrative shutdown\n" GGSN_STR)
{
struct ggsn_ctx *ggsn = (struct ggsn_ctx *) vty->index;
@@ -316,7 +316,7 @@ DEFUN(cfg_ggsn_shutdown, cfg_ggsn_shutdown_cmd,
DEFUN(cfg_ggsn_no_shutdown, cfg_ggsn_no_shutdown_cmd,
"no shutdown ggsn",
- NO_STR GGSN_STR "Remove the GGSN from administrative shut-down\n")
+ NO_STR GGSN_STR "Remove the GGSN from administrative shutdown\n")
{
struct ggsn_ctx *ggsn = (struct ggsn_ctx *) vty->index;
@@ -344,7 +344,7 @@ static void show_one_sgsn(struct vty *vty, const struct sgsn_peer *sgsn, const c
DEFUN(cfg_ggsn_show_sgsn, cfg_ggsn_show_sgsn_cmd,
"show sgsn",
- NO_STR GGSN_STR "Remove the GGSN from administrative shut-down\n")
+ NO_STR GGSN_STR "Remove the GGSN from administrative shutdown\n")
{
struct ggsn_ctx *ggsn = (struct ggsn_ctx *) vty->index;
struct sgsn_peer *sgsn;
@@ -681,7 +681,7 @@ DEFUN(cfg_apn_no_gpdu_seq, cfg_apn_no_gpdu_seq_cmd,
DEFUN(cfg_apn_shutdown, cfg_apn_shutdown_cmd,
"shutdown",
- "Put the APN in administrative shut-down\n")
+ "Put the APN in administrative shutdown\n")
{
struct apn_ctx *apn = (struct apn_ctx *) vty->index;
@@ -698,7 +698,7 @@ DEFUN(cfg_apn_shutdown, cfg_apn_shutdown_cmd,
DEFUN(cfg_apn_no_shutdown, cfg_apn_no_shutdown_cmd,
"no shutdown",
- NO_STR "Remove the APN from administrative shut-down\n")
+ NO_STR "Remove the APN from administrative shutdown\n")
{
struct apn_ctx *apn = (struct apn_ctx *) vty->index;