[Olsr-dev] Txtinfo format quirks in HNA table

Jo-Philipp Wich (spam-protected)
Thu Jan 3 00:12:53 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list,

I currently playing around with the "tip" revision from the mercurial
repository. When testing the compiled binary I noticed a minor issue in
olsrd_txtinfo within the HNA table.

For own HNA announcements the netmasks are printed as dotted quads,
foreign netmasks are written as decimal suffixes:

- --- 8< ---
104.61.17.201   255.255.255.255 104.61.17.32	<-- my own hna
0.0.0.0 	0       	104.61.114.35
0.0.0.0 	0       	104.61.80.1
0.0.0.0 	0       	104.61.254.32
104.61.74.200   32      	104.61.74.19
- --- >8 ---

The attached patch should address this issue.


Greetings from Leipzig,
- -- jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHfBp0dputYINPTPMRAhNxAJ0b7PPF2CeB+hJiIOz7k5O24eWNugCgp/ua
E15RcoPYfmEE5vZUYGnglH0=
=FB+J
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: olsrd-txtinfo-own-hna-format-fix.patch
Type: text/x-patch
Size: 1064 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20080103/89e28213/attachment.bin>


More information about the Olsr-dev mailing list