Index: uspace/srv/tcp/tcp.c
===================================================================
--- uspace/srv/tcp/tcp.c	(revision ecff3d9a17c6c882ad241671cff1a314da4c4f16)
+++ uspace/srv/tcp/tcp.c	(revision 59157eb35e6e9c10dc18e144c444d8d35d9453ef)
@@ -54,4 +54,6 @@
 #define NAME       "tcp"
 
+#define IP_PROTO_TCP 6
+
 static int tcp_inet_ev_recv(inet_dgram_t *dgram);
 static void tcp_received_pdu(tcp_pdu_t *pdu);
@@ -185,5 +187,5 @@
 	if (0) tcp_test();
 
-	rc = inet_init(42, &tcp_inet_ev_ops);
+	rc = inet_init(IP_PROTO_TCP, &tcp_inet_ev_ops);
 	if (rc != EOK) {
 		log_msg(LVL_ERROR, "Failed connecting to internet service.");
