summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfcolin2000-12-21 09:45:26 +0000
committerfcolin2000-12-21 09:45:26 +0000
commit46209edbd0fa84adfdc35a4ac934a9622d695455 (patch)
tree098f067a2d346ae0284ddb12737d23e69a422b8c /src
parentd47112e5481abb3004811cd0ae6d270c24461d9c (diff)
downloadivy-c-46209edbd0fa84adfdc35a4ac934a9622d695455.zip
ivy-c-46209edbd0fa84adfdc35a4ac934a9622d695455.tar.gz
ivy-c-46209edbd0fa84adfdc35a4ac934a9622d695455.tar.bz2
ivy-c-46209edbd0fa84adfdc35a4ac934a9622d695455.tar.xz
broadcast printf in number dot notation
Diffstat (limited to 'src')
-rw-r--r--src/ivy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ivy.c b/src/ivy.c
index b5651df..e91dd36 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -635,7 +635,7 @@ void IvyStart (const char* bus)
/* addresses are terminated by a comma or end of string */
} else {
- printf ("Broadcasting on network %lx, port %d\n", mask, SupervisionPort);
+ printf ("Broadcasting on network %s, port %d\n", inet_ntoa(htonl(mask)), SupervisionPort);
// test mask value agaisnt CLASS D
if ( IN_MULTICAST( mask ) )
SocketAddMember (broadcast , mask );