summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
AgeCommit message (Expand)Author
2015-05-05use the sizeof the struct not the sizeof a pointer to the structJonathan Gray
2015-03-14When removing interfaces in the RDE we also need to remove all the RDEClaudio Jeker
2015-03-13Make sure that the debug messages include the neighbor ID so we hava a chanceClaudio Jeker
2015-03-11tweak wording; "a value different to 1" -> "...other than 1", from Sevan JaniyanStuart Henderson
2015-02-11Use sizeof(u_short) in the first check since there are RT messages thatClaudio Jeker
2015-02-10Forgot the EAGAIN or EINTR check on read.Claudio Jeker
2015-02-10Convert ospfd over to SOCK_CLOEXEC | SOCK_NONBLOCK and make the routeClaudio Jeker
2015-01-28When comparing the LSA with the Ack, also check the age field. ThisAlexander Bluhm
2015-01-22remove a stupid -Wstrict-prototype warning by making the hash functionTed Unangst
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-18simple to use siphash here. ok deraadtTed Unangst
2014-11-20Don't allow embedded nul characters in strings.Jonathan Gray
2014-11-18Nuke more obvious #include duplications.Kenneth R Westerback
2014-11-03Convert the logic in yyerror(). Instead of creating a temporaryAlexander Bluhm
2014-11-02Add gcc format attributes to parse.y for ospf{6,}d.Doug Hogan
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-07-20Fixed typo in error message.Tobias Stoeckmann
2014-07-12Close connections when msgbuf_write() returns 0.Kenneth R Westerback
2014-07-11Close the control fd when it has reported EOF.Kenneth R Westerback
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2014-01-22relax the cfg file secrecy check slightly to allow group readabilityHenning Brauer
2013-11-25use u_char for buffers in yylex, for ctype callsSebastian Benoit
2013-11-13from claudioSebastian Benoit
2013-10-30another simple %i to %d conversion for obviousnessTheo de Raadt
2013-08-14Enforce that the ls_id and the adv_rtr field in a type 1 router LSA areClaudio Jeker
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
2013-06-01Minor cleanup, do not set values to 0 twice.Claudio Jeker
2013-03-22whitespace tweak; gratuitous difference with ospf6dStuart Henderson
2013-03-22reinstate code to announce routes to backup carp interfaces. this was removedStuart Henderson
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2013-03-06sync yyerror() with version in bgpd so that it logs to syslog when daemonized.Stuart Henderson
2013-03-06When dumping config, just print "passive" for passive interfaces ratherStuart Henderson
2013-01-17improve snapshot handling:Markus Friedl
2013-01-17do not send IMSG_LS_UPD if we have no links; ok claudioMarkus Friedl
2013-01-17ignore the nbr_adj_timer if we are not forming adjacencies; ok claudioMarkus Friedl
2013-01-17transmit correct state to RDE; ok claudioMarkus Friedl
2013-01-17allow two minutes until neighbor adjacencies are formed; ok claudio@Markus Friedl
2013-01-17for point-to-point interfaces we need to send lsupdates to theMarkus Friedl
2013-01-17the peer might still send more DD messages, even if the RDE hasMarkus Friedl
2013-01-17the event NBR_EVT_SEQ_NUM_MIS is not defined in state NBR_STA_XSTRTMarkus Friedl
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
2012-09-18The if (!better && !equal) check is redundant as the same conditionAlexander Bluhm
2012-08-29bump reference to rfc 1583 to rfc 2328;Jason McIntyre
2012-05-14Don't display a nonsense uptime for an inactive interface. ldpd fix fromStuart Henderson
2012-04-24take a stab at documenting when arguments need quoted, and valid macroJason McIntyre
2012-04-11delete excessive evtimer_pending; ok claudioTheo de Raadt
2012-04-10Handle file descriptor exhaustion in the accept() case.Theo de Raadt
2012-04-04Both LSA_TYPE_AREA_OPAQ and LSA_TYPE_AS_OPAQ can be found when traversingClaudio Jeker
2011-09-16Rather than reloading kernel routes immediately when an RTM_DESYNC is seen,Stuart Henderson
2011-08-20Decouple log_verbose() from log_init() so the verbose flag stays set withStuart Henderson