Skip to content

Commit

Permalink
Fixes to get it compilable, and (almost) linkable.
Browse files Browse the repository at this point in the history
The problem now is that the list library doesn't seem to be updated yet (#3) and also, the time library seems to bring in an udivdi3/umoddi3 dependency that is yet to be satisfied.
  • Loading branch information
perlun committed Aug 23, 2015
1 parent 41f245b commit e69a204
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions servers/network/ipv4/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ OBJECTS = %w(
)

LIBRARIES = %w(
ipc
ipv4
log
memory
random
time
string
system
)

OUTPUT = 'ipv4'
Expand Down
4 changes: 2 additions & 2 deletions servers/network/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ bool route_find(u32 address, ipv4_interface_type **interface,

if (entry == NULL)
{
mutex_signal(interface_list_mutex);
mutex_signal(&interface_list_mutex);
return FALSE;
}

*interface = entry->interface;
*ethernet_structure = entry->ethernet_structure;
mutex_signal(interface_list_mutex);
mutex_signal(&interface_list_mutex);

*direct = FALSE;
return TRUE;
Expand Down

0 comments on commit e69a204

Please sign in to comment.