Rev 606: get interface right in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Mon Sep 10 10:45:28 GMT 2007


------------------------------------------------------------
revno: 606
revision-id: tridge at samba.org-20070910104527-sj58njqw4je96r1f
parent: tridge at samba.org-20070910051617-jukrt35ok0rcdtht
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge.test
timestamp: Mon 2007-09-10 20:45:27 +1000
message:
  get interface right
modified:
  server/ctdb_takeover.c         ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
=== modified file 'server/ctdb_takeover.c'
--- a/server/ctdb_takeover.c	2007-09-10 04:27:29 +0000
+++ b/server/ctdb_takeover.c	2007-09-10 10:45:27 +0000
@@ -457,7 +457,6 @@
 	for (i=0;i<nlines;i++) {
 		unsigned mask;
 		struct sockaddr_in addr;
-		char ifacebuf[100];
 		const char *iface;
 		char *tok;
 
@@ -477,7 +476,7 @@
 			}
 			iface = ctdb->default_public_interface;
 		} else {
-			iface = ifacebuf;
+			iface = tok;
 		}
 
 		if (add_public_address(ctdb, addr, mask, iface)) {



More information about the samba-cvs mailing list