netsniff-ng: proto_ipv4: Move sockaddr_in declarations to narrower scope
commit51e487b4b55a69581f2d27cbf148ff98c173eaf7
authorTobias Klauser <tklauser@distanz.ch>
Thu, 8 Dec 2016 15:05:58 +0000 (8 16:05 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 8 Dec 2016 15:05:58 +0000 (8 16:05 +0100)
tree4ba19f41b044df39ed4586ee82c377abe50f5813
parentf474c5031e5b8c5833342a504c6e33941a5103f0
netsniff-ng: proto_ipv4: Move sockaddr_in declarations to narrower scope

Move the sockaddr_in definitions and preparations to the scope where
they're used, i.e. only if geoip is enabled and working.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_ipv4.c