CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2009/03/29 13:25:49
Modified files: usr.sbin/ospf6d: rde.h rde_spf.c Log message: Because get_rtr_link() forgot to increment the buffer offset it was always returning the first link in the LSA, no matter which link was requested. Fix this bug. Also, decrease the number of local variables while here, and convert the idx argument to unsigned int. Adjust one caller to pass an unsigned int, other callers will be handled in follow-up commits. ok claudio@