diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-01-25 20:28:38 +0100 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2021-01-28 12:55:41 +0000 |
commit | f7ec52560f07f2f3d5488d78c7f616d98ca43733 (patch) | |
tree | 0780c8c3e12c8275182bb82e3cd96f3ba7c13cc2 /src/pcu_vty.c | |
parent | 91e3567a150b7f5d345de14314370580eb672bc8 (diff) |
follow gprs_ns2 API enum changes
All gprs_ns2 enums have now GPRS_NS2 as prefix.
Depends-on: I548ff12f7277cbb7e1a630a3dc02b738ce89be72 (libosmocore)
Change-Id: Ifdc7956318c07d680feab33c22bc2c6f20927bf9
Diffstat (limited to 'src/pcu_vty.c')
-rw-r--r-- | src/pcu_vty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pcu_vty.c b/src/pcu_vty.c index 288f2412..4b502c9d 100644 --- a/src/pcu_vty.c +++ b/src/pcu_vty.c @@ -244,7 +244,7 @@ static int config_write_pcu(struct vty *vty) } } - if (the_pcu->vty.ns_dialect == NS2_DIALECT_SNS) + if (the_pcu->vty.ns_dialect == GPRS_NS2_DIALECT_SNS) vty_out(vty, " gb-dialect ip-sns%s", VTY_NEWLINE); else vty_out(vty, " gb-dialect classic%s", VTY_NEWLINE); @@ -1010,9 +1010,9 @@ DEFUN_USRATTR(cfg_pcu_gb_dialect, "Modern Gb interface with IP-SNS (Sub Network Service) and dynamic configuration\n") { if (!strcmp(argv[0], "ip-sns")) { - the_pcu->vty.ns_dialect = NS2_DIALECT_SNS; + the_pcu->vty.ns_dialect = GPRS_NS2_DIALECT_SNS; } else { - the_pcu->vty.ns_dialect = NS2_DIALECT_IPACCESS; + the_pcu->vty.ns_dialect = GPRS_NS2_DIALECT_IPACCESS; } return CMD_SUCCESS; |