summaryrefslogtreecommitdiff
path: root/ripd/rip_peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/rip_peer.c')
-rw-r--r--ripd/rip_peer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ripd/rip_peer.c b/ripd/rip_peer.c
index 6a3add640a..464c3f4dd3 100644
--- a/ripd/rip_peer.c
+++ b/ripd/rip_peer.c
@@ -13,10 +13,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with GNU Zebra; see the file COPYING. If not, write to the Free
- * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <zebra.h>
@@ -107,8 +106,9 @@ rip_peer_get (struct in_addr *addr)
}
/* Update timeout thread. */
- peer->t_timeout = thread_add_timer (master, rip_peer_timeout, peer,
- RIP_PEER_TIMER_DEFAULT);
+ peer->t_timeout = NULL;
+ thread_add_timer(master, rip_peer_timeout, peer, RIP_PEER_TIMER_DEFAULT,
+ &peer->t_timeout);
/* Last update time set. */
time (&peer->uptime);