summaryrefslogtreecommitdiffstats
path: root/src/ctrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-03-20 08:30:29 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-20 08:32:30 +0100
commitfa90cfd8d296503189d3075b8f1bf633204ddaa0 (patch)
treeb7fedc83e450de516b5661d9495a07d146fd3f88 /src/ctrl
parentc0dfc9d885970f0116bf0e0af4cbe36c330f88bc (diff)
gprs_ns_sns: Properly initialize sockaddr_in in gprs_nsvc_create_ip4()
When putting together a sockaddr_in, we must not only set the IP address and port, but also set the address family to AF_INET. And while at it, let's zero-initialize the entire 'struct sockdadr_in'. Change-Id: I1c8d8fe7f79a2ec737baa7800247269c3271983e
Diffstat (limited to 'src/ctrl')
0 files changed, 0 insertions, 0 deletions