Skip to content

Commit

Permalink
- Add support of MK_INET_SUPPORT=no.
Browse files Browse the repository at this point in the history
- Fix a bug in sodump() which prevented struct sockaddr_in6 from displaying.
- Fix a bug in in fiboptlist_csv() which could cause free() of uninitialized
  pointer.
- Style cleanups:
 . Add missing "static" keywords.
 . Use an array of struct sockaddr_storage instead of sockunion for rtmsg.
 . Use err() and errx() instead of pair of fprintf(stderr, "...") + exit(1).
 . Use nitems() macro.
 . Various style(9) fixes.
  • Loading branch information
hrs-allbsd committed Jul 17, 2013
1 parent 93da0b5 commit 9542c40
Show file tree
Hide file tree
Showing 2 changed files with 278 additions and 268 deletions.
5 changes: 3 additions & 2 deletions sbin/route/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ WARNS?= 3
CLEANFILES+=keywords.h

CFLAGS+= -DNS

.if ${MK_INET_SUPPORT} != "no"
CFLAGS+= -DINET
.endif
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif

CFLAGS+= -I.

keywords.h: keywords
Expand Down
Loading

0 comments on commit 9542c40

Please sign in to comment.