diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-28 11:17:08 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-28 11:34:51 +0200 |
commit | 3eb05d2c1a0e85e8e29fa431bec7629095ce3b98 (patch) | |
tree | 504f0faefa83564ccc1ecd19ac4253e880c4faaf | |
parent | f5fbb419efc3f5210da1517a889ba828b6716a1a (diff) |
cosmetic: fix formatting in if line
Fixes: eefa30dce8fa8e0ae16a3108e23041f92ea6ab21
Fixes: 2d6a69e69a4b4cb2b8cc63c4810dae44e5a4d8f6
Change-Id: I9ee5f4142cacf912145693c72a53c0f531bad2c6
-rw-r--r-- | ggsn/ggsn.c | 3 | ||||
-rw-r--r-- | gtp/pdp.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index 89b183f..7b32bde 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c @@ -358,8 +358,9 @@ static int delete_context(struct pdp_t *pdp) member = pdp->peer[i]; send_trap(gsn, pdp, member, "imsi-rem-ip"); /* TRAP with IP removal */ ippool_freeip(member->pool, member); - } else if(i == 0) + } else if (i == 0) { LOGPPDP(LOGL_ERROR, pdp, "Cannot find/free IP Pool member\n"); + } } if (!pdp_priv) { @@ -109,7 +109,7 @@ static struct gsn_t *g_gsn; int pdp_init(struct gsn_t *gsn) { - if(!g_gsn) { + if (!g_gsn) { g_gsn = gsn; } else { LOGP(DLGTP, LOGL_FATAL, "This interface is depreacted and doesn't support multiple GGSN!"); |