CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2021/04/15 07:42:33

Modified files:
        usr.sbin/bgpd  : parse.y 
        regress/usr.sbin/bgpd/config: bgpd.conf.10.ok bgpd.conf.11.ok 

Log message:
On powerpc64 regress/usr.sbin/bgpd/config failed.  It parses a
config file, writes bgpd's config to stdout and compares it with
an expected output.  On big endian machines the order of the set
of communities is different.  The parser used memcmp(3) to sort a
struct of integers.  This depends of the endianess.  The correct
way is to compare the integer fields in native byte order.  With
this change, the resulting order is the same on i386 and powerpc64.
OK claudio@

Reply via email to