Changeset 192 for branches/2.05


Ignore:
Timestamp:
Dec 13, 2005, 9:35:51 AM (14 years ago)
Author:
bcornec
Message:

Fix a bug for route results (Sébastien Aperghis-Tramoni <maddingue@…>)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mondo/mondo/common/libmondo-files.c

    r148 r192  
    12221222           call_program_and_get_last_line_of_output(command));
    12231223    sprintf(command,
    1224             "route | egrep '^default' | awk '{printf $2}'");
     1224            "route -n | grep '^0.0.0.0' | awk '{printf $2}'");
    12251225    strcpy(nfs_client_defgw,
    12261226           call_program_and_get_last_line_of_output(command));
Note: See TracChangeset for help on using the changeset viewer.