diff options
-rw-r--r-- | usr.sbin/ospfd/ospfd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c index b5ddd3e3016..f9a902c21d8 100644 --- a/usr.sbin/ospfd/ospfd.c +++ b/usr.sbin/ospfd/ospfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.c,v 1.111 2020/01/21 20:38:52 remi Exp $ */ +/* $OpenBSD: ospfd.c,v 1.112 2020/03/29 12:36:01 denis Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -185,8 +185,8 @@ main(int argc, char *argv[]) kif_clear(); exit(1); } - if (ospfd_conf->rtr_id.s_addr == 0) - ospfd_conf->rtr_id.s_addr = get_rtr_id(); + if (ospfd_conf->rtr_id.s_addr == 0) + ospfd_conf->rtr_id.s_addr = get_rtr_id(); if (sockname == NULL) { if (asprintf(&sockname, "%s.%d", OSPFD_SOCKET, |