Changeset efdfebc in mainline for uspace/srv/net/inetsrv/sroute.c


Ignore:
Timestamp:
2012-11-06T21:03:44Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
338810f
Parents:
de73242 (diff), 94795812 (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/sroute.c

    rde73242 refdfebc  
    5757
    5858        if (sroute == NULL) {
    59                 log_msg(LVL_ERROR, "Failed allocating static route object. "
     59                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed allocating static route object. "
    6060                    "Out of memory.");
    6161                return NULL;
     
    100100        inet_sroute_t *best;
    101101
    102         log_msg(LVL_DEBUG, "inet_sroute_find(%x)", (unsigned)addr->ipv4);
     102        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find(%x)", (unsigned)addr->ipv4);
    103103
    104104        fibril_mutex_lock(&sroute_list_lock);
     
    117117                if ((sroute->dest.ipv4 & mask) == (addr->ipv4 & mask)) {
    118118                        fibril_mutex_unlock(&sroute_list_lock);
    119                         log_msg(LVL_DEBUG, "inet_sroute_find: found %p",
     119                        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find: found %p",
    120120                            sroute);
    121121                        return sroute;
     
    123123        }
    124124
    125         log_msg(LVL_DEBUG, "inet_sroute_find: Not found");
     125        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find: Not found");
    126126        fibril_mutex_unlock(&sroute_list_lock);
    127127
     
    136136inet_sroute_t *inet_sroute_find_by_name(const char *name)
    137137{
    138         log_msg(LVL_DEBUG, "inet_sroute_find_by_name('%s')",
     138        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find_by_name('%s')",
    139139            name);
    140140
     
    147147                if (str_cmp(sroute->name, name) == 0) {
    148148                        fibril_mutex_unlock(&sroute_list_lock);
    149                         log_msg(LVL_DEBUG, "inet_sroute_find_by_name: found %p",
     149                        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find_by_name: found %p",
    150150                            sroute);
    151151                        return sroute;
     
    153153        }
    154154
    155         log_msg(LVL_DEBUG, "inet_sroute_find_by_name: Not found");
     155        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find_by_name: Not found");
    156156        fibril_mutex_unlock(&sroute_list_lock);
    157157
     
    166166inet_sroute_t *inet_sroute_get_by_id(sysarg_t id)
    167167{
    168         log_msg(LVL_DEBUG, "inet_sroute_get_by_id(%zu)", (size_t)id);
     168        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_get_by_id(%zu)", (size_t)id);
    169169
    170170        fibril_mutex_lock(&sroute_list_lock);
Note: See TracChangeset for help on using the changeset viewer.