aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-02-12 17:40:33 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-02-13 22:22:28 +0100
commite77ee12fd582a4847808d6db0edceb7c6f525400 (patch)
tree6932c20c6b4c92e2183e2302590e6cfac139d9ba
parent7202d7b56ae85777b3c83d582391c2aa8fbf0dd9 (diff)
sgsn_libgtp.c: Fix typos and whitespace
-rw-r--r--src/gprs/sgsn_libgtp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gprs/sgsn_libgtp.c b/src/gprs/sgsn_libgtp.c
index ae293f1d..4061e7ae 100644
--- a/src/gprs/sgsn_libgtp.c
+++ b/src/gprs/sgsn_libgtp.c
@@ -587,7 +587,7 @@ static int echo_conf(struct pdp_t *pdp, void *cbp, int recovery)
static int cb_recovery(struct sockaddr_in *peer, uint8_t recovery)
{
struct sgsn_ggsn_ctx *ggsn;
-
+
ggsn = sgsn_ggsn_ctx_by_addr(&peer->sin_addr);
if (!ggsn) {
LOGP(DGPRS, LOGL_NOTICE, "Received Recovery IE for unknown GGSN\n");
@@ -635,7 +635,7 @@ static int cb_conf(int type, int cause, struct pdp_t *pdp, void *cbp)
/* Called whenever a PDP context is deleted for any reason */
static int cb_delete_context(struct pdp_t *pdp)
{
- LOGPDPX(DGPRS, LOGL_INFO, pdp, "Context was deleted\n") ;
+ LOGPDPX(DGPRS, LOGL_INFO, pdp, "Context was deleted\n");
return 0;
}
@@ -652,13 +652,13 @@ static int cb_unsup_ind(struct sockaddr_in *peer)
/* Called when we receive a Supported Ext Headers Notification */
static int cb_extheader_ind(struct sockaddr_in *peer)
{
- LOGP(DGPRS, LOGL_INFO, "GTP Supported Ext Headers Noficiation "
+ LOGP(DGPRS, LOGL_INFO, "GTP Supported Ext Headers Notification "
"from %s:%u\n", inet_ntoa(peer->sin_addr),
ntohs(peer->sin_port));
return 0;
}
-/* Called whenever we recive a DATA packet */
+/* Called whenever we receive a DATA packet */
static int cb_data_ind(struct pdp_t *lib, void *packet, unsigned int len)
{
struct bssgp_paging_info pinfo;