diff options
author | Keith <keith@rhizomatica.org> | 2021-09-29 21:00:04 +0200 |
---|---|---|
committer | Keith <keith@rhizomatica.org> | 2021-09-30 20:45:19 +0200 |
commit | 6cee1a1ded99a21c3bb79e891f48d29d3ba3020a (patch) | |
tree | 77c43f3d37b590288c00d3d26a5b5865f81d5b5c /include/osmocom/sgsn | |
parent | c0e146467ae2896840c836e638742d1e8fafa235 (diff) |
VTY: Don't display 'PDP Address: invalid' for IPv4v6
We were not handling the case of PDP_TYPE_N_IETF_IPv4v6
in gprs_pdpaddr2str() and showed "invalid" for these addresses.
Depends: libosmocore Change-Id: I1f82f9d8fc13dcc4474760329bd74ae9685b9031
Change-Id: Id36b7520677e4a0af40d05dc503b26d1b0b74a26
Diffstat (limited to 'include/osmocom/sgsn')
-rw-r--r-- | include/osmocom/sgsn/gprs_sgsn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index c176494b1..dcda5c37a 100644 --- a/include/osmocom/sgsn/gprs_sgsn.h +++ b/include/osmocom/sgsn/gprs_sgsn.h @@ -417,7 +417,7 @@ uint32_t sgsn_alloc_ptmsi(void); struct sgsn_instance *sgsn_instance_alloc(void *talloc_ctx); void sgsn_inst_init(struct sgsn_instance *sgsn); -char *gprs_pdpaddr2str(uint8_t *pdpa, uint8_t len); +char *gprs_pdpaddr2str(uint8_t *pdpa, uint8_t len, bool return_ipv6); /* * ctrl interface related work |