Changeset ff381a7 in mainline for uspace/app/nic/nic.c
- Timestamp:
- 2015-11-02T20:54:19Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8513177
- Parents:
- 3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nic/nic.c
r3feeab2 rff381a7 99 99 printf("Using device: %s\n", svc_name); 100 100 101 sess = loc_service_connect( EXCHANGE_SERIALIZE, nics[i], 0);101 sess = loc_service_connect(nics[i], INTERFACE_DDF, 0); 102 102 if (sess == NULL) { 103 103 printf("Error connecting to service.\n"); … … 117 117 int rc; 118 118 119 sess = loc_service_connect( EXCHANGE_SERIALIZE, svc_id, 0);119 sess = loc_service_connect(svc_id, INTERFACE_DDF, 0); 120 120 if (sess == NULL) { 121 121 printf("Error connecting to service.\n"); 122 122 goto error; 123 123 } 124 124 125 125 rc = nic_get_address(sess, &info->address); 126 126 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.