modules/lcr: Fix printing of IPv4 addresses in lcr.dump_gws
authorRichard Fuchs <rfuchs@sipwise.com>
Thu, 26 Jul 2012 13:41:26 +0000 (09:41 -0400)
committerRichard Fuchs <rfuchs@sipwise.com>
Thu, 26 Jul 2012 13:41:26 +0000 (09:41 -0400)
commit1c2cb66a8c9a4482ac278604f32bd772973a787f
treee8f986c767a594920ea117fa11a03fa51468f2ed
parentf492b41bd12904e3132260562073e79d76a003a5
modules/lcr: Fix printing of IPv4 addresses in lcr.dump_gws

IPv4 addresses were printed incorrectly. Also add special handling for
null gw addresses and print them as 0.0.0.0 for backwards compatibility.
modules/lcr/lcr_rpc.c