Changeset 9749e47 in mainline for uspace/srv/net/inetsrv/inetsrv.c
- Timestamp:
- 2013-10-04T19:23:43Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1d04b2
- Parents:
- 26de91a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.c
r26de91a r9749e47 54 54 #include "inetcfg.h" 55 55 #include "inetping.h" 56 #include "inetping6.h"57 56 #include "inet_link.h" 58 57 #include "reass.h" … … 111 110 rc = loc_service_register_with_iface(SERVICE_NAME_INETPING, &sid, 112 111 INET_PORT_PING); 113 if (rc != EOK) {114 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering service (%d).", rc);115 return EEXIST;116 }117 118 rc = loc_service_register_with_iface(SERVICE_NAME_INETPING6, &sid,119 INET_PORT_PING6);120 112 if (rc != EOK) { 121 113 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering service (%d).", rc); … … 452 444 inetping_conn(iid, icall, arg); 453 445 break; 454 case INET_PORT_PING6:455 inetping6_conn(iid, icall, arg);456 break;457 446 default: 458 447 async_answer_0(iid, ENOTSUP);
Note:
See TracChangeset
for help on using the changeset viewer.