summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2005-05-10 20:20:47 +0000
committerclaudio <claudio@openbsd.org>2005-05-10 20:20:47 +0000
commit44ca2d17dd9c08d2461fa6a8c09a760907573802 (patch)
treea936975a8706d691e731e6bd46e2dca4dad0ffdd
parentsync (diff)
downloadwireguard-openbsd-44ca2d17dd9c08d2461fa6a8c09a760907573802.tar.xz
wireguard-openbsd-44ca2d17dd9c08d2461fa6a8c09a760907573802.zip
Do no longer force the default router priority to 0.
Ospfd can be used as DR or BDR since quite some time so there is no need to make ospfd ineligible as DR or BDR.
-rw-r--r--usr.sbin/ospfd/ospf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospf.h b/usr.sbin/ospfd/ospf.h
index 4540021b72f..5c682370968 100644
--- a/usr.sbin/ospfd/ospf.h
+++ b/usr.sbin/ospfd/ospf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf.h,v 1.11 2005/04/06 20:21:08 norby Exp $ */
+/* $OpenBSD: ospf.h,v 1.12 2005/05/10 20:20:47 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -35,7 +35,7 @@
#define MIN_METRIC 1
#define MAX_METRIC 65535 /* sum & as-ext lsa use 24bit metrics */
-#define DEFAULT_PRIORITY 0 /* XXX force to 0 for now */
+#define DEFAULT_PRIORITY 1
#define MIN_PRIORITY 0
#define MAX_PRIORITY 255