aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn/ggsn.h
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2020-04-25 05:39:21 +0200
committerKeith <keith@rhizomatica.org>2020-04-27 07:37:44 +0200
commita6a8cc1442e266d8d53266c3a24f3cbbb4784768 (patch)
treeb92d674f31979c487652a5a79e926ee98d2f2dbd /ggsn/ggsn.h
parent04715d284f5abc6bce6cd6401c5700e3031662de (diff)
Add default APN for each EUA Typekeith/default-apns
MS may request an unknown APN. In this case we will use the APN configured in the vty as default-apn but if the type support does not match the request we will fail. The commit adds two more vty commands to configure a default vpn for v6 and for v4v6 Change-Id: I03fcf8a1532bd9988ea99a6afd3dc325174ce9d6 Fixes: OS#4511
Diffstat (limited to 'ggsn/ggsn.h')
-rw-r--r--ggsn/ggsn.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ggsn/ggsn.h b/ggsn/ggsn.h
index 82984a0..51f4ec1 100644
--- a/ggsn/ggsn.h
+++ b/ggsn/ggsn.h
@@ -115,8 +115,10 @@ struct ggsn_ctx {
char *name;
/* Description string */
char *description;
- /* an APN that shall be used as default for any non-matching APN */
- struct apn_ctx *default_apn;
+ /* APNs that shall be used as default for any non-matching APN */
+ struct apn_ctx *default_apn_v4;
+ struct apn_ctx *default_apn_v6;
+ struct apn_ctx *default_apn_v4v6;
/* ADdress to which we listen for GTP */
struct in46_addr listen_addr;
/* Local GTP-C address advertised in GTP */