Change in osmo-gbproxy[master]: Move vty node into gbproxy_vty.c

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Thu Feb 11 22:57:00 UTC 2021


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gbproxy/+/22864 )


Change subject: Move vty node into gbproxy_vty.c
......................................................................

Move vty node into gbproxy_vty.c

This is no longer shared with osmo-sgsn and osmo-gtphub

Change-Id: I5329ca39e8ecfe29862b0b1f9afa7d35e678a181
---
M src/gb_proxy_main.c
M src/gb_proxy_vty.c
D src/vty.h
3 files changed, 5 insertions(+), 11 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gbproxy refs/changes/64/22864/1

diff --git a/src/gb_proxy_main.c b/src/gb_proxy_main.c
index 0e36c06..6bd8bd8 100644
--- a/src/gb_proxy_main.c
+++ b/src/gb_proxy_main.c
@@ -43,7 +43,6 @@
 #include <osmocom/gprs/gprs_bssgp.h>
 
 #include "debug.h"
-#include "vty.h"
 #include <osmocom/sgsn/gb_proxy.h>
 
 #include <osmocom/ctrl/control_vty.h>
diff --git a/src/gb_proxy_vty.c b/src/gb_proxy_vty.c
index f069e88..d62fe5f 100644
--- a/src/gb_proxy_vty.c
+++ b/src/gb_proxy_vty.c
@@ -40,7 +40,6 @@
 
 #include "debug.h"
 #include <osmocom/sgsn/gb_proxy.h>
-#include "vty.h"
 
 #include <osmocom/vty/command.h>
 #include <osmocom/vty/logging.h>
@@ -65,6 +64,11 @@
 /*
  * vty code for gbproxy below
  */
+enum bsc_vty_node {
+	GBPROXY_NODE = _LAST_OSMOVTY_NODE + 1,
+	SGSN_NODE,
+};
+
 static struct cmd_node gbproxy_node = {
 	GBPROXY_NODE,
 	"%s(config-gbproxy)# ",
diff --git a/src/vty.h b/src/vty.h
deleted file mode 100644
index d2e3d9a..0000000
--- a/src/vty.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#pragma once
-
-#include <osmocom/vty/command.h>
-
-enum bsc_vty_node {
-	GBPROXY_NODE = _LAST_OSMOVTY_NODE + 1,
-	SGSN_NODE,
-	GTPHUB_NODE,
-};

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gbproxy/+/22864
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: I5329ca39e8ecfe29862b0b1f9afa7d35e678a181
Gerrit-Change-Number: 22864
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210211/f17a8fa6/attachment.htm>


More information about the gerrit-log mailing list