Changeset b800b0e in mainline for uspace/srv/net/inetsrv/sroute.c
- Timestamp:
- 2012-10-23T13:16:49Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ecf5b8
- Parents:
- 32b3a12 (diff), b2ac3998 (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/srv/net/inetsrv/sroute.c
r32b3a12 rb800b0e 57 57 58 58 if (sroute == NULL) { 59 log_msg(L VL_ERROR, "Failed allocating static route object. "59 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed allocating static route object. " 60 60 "Out of memory."); 61 61 return NULL; … … 100 100 inet_sroute_t *best; 101 101 102 log_msg(L VL_DEBUG, "inet_sroute_find(%x)", (unsigned)addr->ipv4);102 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find(%x)", (unsigned)addr->ipv4); 103 103 104 104 fibril_mutex_lock(&sroute_list_lock); … … 117 117 if ((sroute->dest.ipv4 & mask) == (addr->ipv4 & mask)) { 118 118 fibril_mutex_unlock(&sroute_list_lock); 119 log_msg(L VL_DEBUG, "inet_sroute_find: found %p",119 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find: found %p", 120 120 sroute); 121 121 return sroute; … … 123 123 } 124 124 125 log_msg(L VL_DEBUG, "inet_sroute_find: Not found");125 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find: Not found"); 126 126 fibril_mutex_unlock(&sroute_list_lock); 127 127 … … 136 136 inet_sroute_t *inet_sroute_find_by_name(const char *name) 137 137 { 138 log_msg(L VL_DEBUG, "inet_sroute_find_by_name('%s')",138 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find_by_name('%s')", 139 139 name); 140 140 … … 147 147 if (str_cmp(sroute->name, name) == 0) { 148 148 fibril_mutex_unlock(&sroute_list_lock); 149 log_msg(L VL_DEBUG, "inet_sroute_find_by_name: found %p",149 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find_by_name: found %p", 150 150 sroute); 151 151 return sroute; … … 153 153 } 154 154 155 log_msg(L VL_DEBUG, "inet_sroute_find_by_name: Not found");155 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_sroute_find_by_name: Not found"); 156 156 fibril_mutex_unlock(&sroute_list_lock); 157 157 … … 166 166 inet_sroute_t *inet_sroute_get_by_id(sysarg_t id) 167 167 { 168 log_msg(L VL_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); 169 169 170 170 fibril_mutex_lock(&sroute_list_lock);
Note:
See TracChangeset
for help on using the changeset viewer.