summaryrefslogtreecommitdiff
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-03-22 14:26:03 +0000
committerPavel Machek <pavel@ucw.cz>2000-03-22 14:26:03 +0000
commitff8ed6328595c77e8b0ed3ed4cea3fb4d9bb141d (patch)
treea5462e194af30eba50c0985add97c2aef820a2ab /proto/rip/rip.h
parentba4466701aed032f947272dead47b3abc7bb7a3f (diff)
Rip now tries to lock interface.
Fixed fatal errors which caused segfault at startup. Fixed fatal errors in rip which caused it not to send more than first update.
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r--proto/rip/rip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h
index 62c81210..465e4d39 100644
--- a/proto/rip/rip.h
+++ b/proto/rip/rip.h
@@ -6,6 +6,7 @@
#include "nest/route.h"
#include "nest/password.h"
+#include "nest/locks.h"
#define EA_RIP_TAG EA_CODE(EAP_RIP, 0)
#define EA_RIP_METRIC EA_CODE(EAP_RIP, 1)
@@ -102,6 +103,7 @@ struct rip_interface {
struct rip_connection *busy;
struct rip_patt *patt;
int triggered;
+ struct object_lock *lock;
};
struct rip_patt {