gb_proxy: listen on UDP port 23000, use AF_INET
diff --git a/openbsc/src/gb_proxy_main.c b/openbsc/src/gb_proxy_main.c
index c624cf8..7ef613f 100644
--- a/openbsc/src/gb_proxy_main.c
+++ b/openbsc/src/gb_proxy_main.c
@@ -53,7 +53,7 @@
 void *tall_bsc_ctx;
 
 struct gprs_ns_inst *gbprox_nsi;
-static u_int16_t nsip_listen_port;
+static u_int16_t nsip_listen_port = 23000;
 
 const char *openbsc_version = "Osmocom NSIP Proxy " PACKAGE_VERSION;
 const char *openbsc_copyright =
@@ -114,6 +114,7 @@
 	nsip_listen(gbprox_nsi, nsip_listen_port);
 
 	/* 'establish' the outgoing connection to the SGSN */
+	sin.sin_family = AF_INET;
 	sin.sin_port = ntohs(23000);
 	inet_aton("192.168.100.239", &sin.sin_addr);
 	gbprox_peer_sgsn = nsip_connect(gbprox_nsi, &sin, 2342);