[Olsr-cvs] olsrd-current/src interfaces.h,1.47,1.48

Bernd Petrovitsch (spam-protected)
Sun Nov 25 23:02:35 CET 2007


Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6894/src

Modified Files:
	interfaces.h 
Log Message:
* saved a few bytes

Index: interfaces.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/interfaces.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** interfaces.h	25 Nov 2007 21:41:05 -0000	1.47
--- interfaces.h	25 Nov 2007 22:02:33 -0000	1.48
***************
*** 143,148 ****
    int           if_index;                       /* Kernels index of this interface */
    int           is_wireless;                    /* wireless interface or not*/
-   olsr_u16_t    olsr_seqnum;                    /* Olsr message seqno */
    char	        *int_name;			/* from kernel if structure */
  
    float         hello_etime;
--- 143,156 ----
    int           if_index;                       /* Kernels index of this interface */
    int           is_wireless;                    /* wireless interface or not*/
    char	        *int_name;			/* from kernel if structure */
+   olsr_u16_t    olsr_seqnum;                    /* Olsr message seqno */
+ #ifdef linux
+ /* Struct used to store original redirect/ingress setting */
+   struct nic_state
+   {
+     char redirect; /* The original state of icmp redirect */
+     char spoof; /* The original state of the IP spoof filter */
+   } nic_state;
+ #endif
  
    float         hello_etime;
***************
*** 157,169 ****
    int           ttl_index; /* index in TTL array for fish-eye */
  
- #ifdef linux
- /* Struct uesd to store original redirect/ingress setting */
-   struct nic_state
-   {
-     char redirect; /* The original state of icmp redirect */
-     char spoof; /* The original state of the IP spoof filter */
-   } nic_state;
- #endif
- 
    struct	interface *int_next;
  };
--- 165,168 ----





More information about the Olsr-cvs mailing list