]> www.tinc-vpn.org Git - tinc/blobdiff - src/protocol_key.c
Remove all occurences of $Id$.
[tinc] / src / protocol_key.c
index 41479148930847f864c7233daa9995bc16493a4d..0d9e7863d4146e97cadb66f64012050d2414f859 100644 (file)
@@ -16,8 +16,6 @@
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-    $Id$
 */
 
 #include "system.h"
 */
 
 #include "system.h"
@@ -49,7 +47,7 @@ bool send_key_changed()
        if(!mykeyused)
                return true;
 
        if(!mykeyused)
                return true;
 
-       return send_request(broadcast, "%d %lx %s", KEY_CHANGED, random(), myself->name);
+       return send_request(broadcast, "%d %x %s", KEY_CHANGED, rand(), myself->name);
 }
 
 bool key_changed_h(connection_t *c)
 }
 
 bool key_changed_h(connection_t *c)