Changeset 11758


Ignore:
Timestamp:
2008-07-10T02:00:36+02:00 (10 years ago)
Author:
aaron
Message:

same

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/olsrd/patches/120-dyn_gw_interval.patch

    r10371 r11758  
    1 --- olsrd-0.5.4/lib/dyn_gw/src/olsrd_dyn_gw-orig.c      2007-10-31 15:14:47.000000000 +0100 
    2 +++ olsrd-0.5.4/lib/dyn_gw/src/olsrd_dyn_gw.c   2007-10-31 15:15:17.000000000 +0100 
    3 @@ -92,7 +92,7 @@ 
    4  
    5  
     1--- olsrd-0.5.6-rc7/lib/dyn_gw/src/olsrd_dyn_gw-orig.c  2008-07-10 01:50:44.000000000 +0200 
     2+++ olsrd-0.5.6-rc7/lib/dyn_gw/src/olsrd_dyn_gw.c       2008-07-10 01:51:39.000000000 +0200 
     3@@ -90,7 +90,7 @@ 
     4  
     5  
    66 /* set default interval, in case none is given in the config file */ 
    77-static int check_interval = 5; 
    88+static double check_interval = 5; 
    9  
     9  
    1010 /* list to store the Ping IP addresses given in the config file */ 
    1111 struct ping_list { 
    12 @@ -307,7 +307,7 @@ 
     12@@ -302,7 +302,7 @@ 
    1313     struct hna_list *li; 
    1414     struct timespec remainder_spec; 
    1515     /* the time to wait in "Interval" sec (see connfig), default=5sec */ 
    1616-    struct timespec sleeptime_spec  = { check_interval, 0L }; 
    17 +    struct timespec sleeptime_spec  = { (int) check_interval, 0L }; 
    18  
     17+    struct timespec sleeptime_spec  = { (int)check_interval, 0L }; 
     18  
    1919     for(li = the_hna_list; li; li = li->next){ 
    2020       /* check for gw in table entry and if Ping IPs are given also do pings */ 
Note: See TracChangeset for help on using the changeset viewer.