[Olsr-dev] Obtain the ip address of a router from his hna entries

Hans-Christoph Steiner (spam-protected)
Wed Jul 4 17:41:43 CEST 2012


The jsoninfo plugin reports HNA entries like this:

"hna": {
	"destination": "0.0.0.0"
	"genmask": 0
	"gateway": "10.1.2.5"           <-- router IP
	"validityTime": 12368
}

.hc

On Jul 4, 2012, at 3:43 AM, ZioPRoTo (Saverio Proto) wrote:

> src/olsr_cfg.h line 282
> 
> /* Main address of this node */
>  union olsr_ip_addr main_addr, unicast_src_ip;
> 
> is this what you are looking from ?
> 
> Saverio
> 
> 2012/7/3 Alessandro Gnagni <(spam-protected)>:
>> is there any method to obtain the ip address of a router from his hna
>> entry that is stored into olsr_cnf->hna_entries list?
>> thx
>> 
>> --
>> Olsr-dev mailing list
>> (spam-protected)
>> https://lists.olsr.org/mailman/listinfo/olsr-dev
> 
> -- 
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev





More information about the Olsr-dev mailing list