"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/bgpd/bgpd.c" between
openbgpd-6.7p0.tar.gz and openbgpd-6.8p0.tar.gz

About: OpenBGPD is a Border Gateway Protocol (BGP) daemon which manages the network routing tables. Its main purpose is to exchange information concerning "network reachability" with other BGP systems.

bgpd.c  (openbgpd-6.7p0):bgpd.c  (openbgpd-6.8p0)
/* $OpenBSD: bgpd.c,v 1.227 2019/10/02 08:58:34 claudio Exp $ */ /* $OpenBSD: bgpd.c,v 1.229 2020/05/11 16:59:19 claudio Exp $ */
/* /*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
* *
* Permission to use, copy, modify, and distribute this software for any * Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies. * copyright notice and this permission notice appear in all copies.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
skipping to change at line 832 skipping to change at line 832
log_peer_warnx(&p->conf, log_peer_warnx(&p->conf,
"pfkey setup failed"); "pfkey setup failed");
} }
break; break;
case IMSG_CTL_RELOAD: case IMSG_CTL_RELOAD:
if (idx != PFD_PIPE_SESSION) if (idx != PFD_PIPE_SESSION)
log_warnx("reload request not from SE"); log_warnx("reload request not from SE");
else { else {
reconfig = 1; reconfig = 1;
reconfpid = imsg.hdr.pid; reconfpid = imsg.hdr.pid;
if (imsg.hdr.len == IMSG_HEADER_SIZE +
REASON_LEN && ((char *)imsg.data)[0])
log_info("reload due to: %s",
log_reason(imsg.data));
} }
break; break;
case IMSG_CTL_FIB_COUPLE: case IMSG_CTL_FIB_COUPLE:
if (idx != PFD_PIPE_SESSION) if (idx != PFD_PIPE_SESSION)
log_warnx("couple request not from SE"); log_warnx("couple request not from SE");
else else
kr_fib_couple(imsg.hdr.peerid, kr_fib_couple(imsg.hdr.peerid,
conf->fib_priority); conf->fib_priority);
break; break;
case IMSG_CTL_FIB_DECOUPLE: case IMSG_CTL_FIB_DECOUPLE:
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)