Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c6bf6be in mainline


Ignore:
Timestamp:
2013-09-24T21:33:48Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
04ecc6d
Parents:
ee20e8a
Message:

Do not forget to add ncs link to list.

Location:
uspace/srv/net
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dhcp/dhcp.c

    ree20e8a rc6bf6be  
    433433
    434434        if (dhcpsrv_link_find(link_id) != NULL) {
    435                 log_msg(LOG_DEFAULT, LVL_DEBUG, "Link %zu already added",
     435                log_msg(LOG_DEFAULT, LVL_NOTE, "Link %zu already added",
    436436                    link_id);
    437437                return EEXIST;
  • uspace/srv/net/nconfsrv/iplink.c

    ree20e8a rc6bf6be  
    128128        int rc;
    129129
     130        assert(fibril_mutex_is_locked(&ncs_links_lock));
     131
    130132        log_msg(LOG_DEFAULT, LVL_DEBUG, "ncs_link_add()");
    131133        nlink = ncs_link_new();
     
    158160        }
    159161
     162        list_append(&nlink->link_list, &ncs_links);
     163
    160164        return EOK;
    161165
Note: See TracChangeset for help on using the changeset viewer.