From a8b1750ede6e942430bc25e0c9c90c8e4624b250 Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 8 Oct 2005 15:18:10 +0000 Subject: *** empty log message *** --- src/multicast.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/multicast.cc') diff --git a/src/multicast.cc b/src/multicast.cc index b64bfde..80be2ce 100644 --- a/src/multicast.cc +++ b/src/multicast.cc @@ -33,7 +33,7 @@ #include #include -Multicast::Multicast(Info *i) +Multicast::Multicast(Info *i, char *addr, int port) { /* Multicast adresses: @@ -42,11 +42,14 @@ Multicast::Multicast(Info *i) 224.0.0.5 OSPF routers 224.0.0.6 OSPF designated routers 224.0.0.12 DHCP server/relay agent +server_multicast = true +server_multicast_addr = "224.0.0.1" +server_multicast_port = 1234 */ // Multicast to all systems on this subnet - char addr[] = "224.0.0.1"; - int port = 1234; + // char addr[] = "224.0.0.1"; + // int port = 1234; info = i; if(!UDPOpen(addr, port)) info->error("Error creating socket %s:%d", addr, port); -- cgit v1.2.3