]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Try to fix gcc compilation errors (which are right).
authorBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 18 Aug 2016 10:26:15 +0000 (10:26 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 18 Aug 2016 10:26:15 +0000 (10:26 +0000)
commitdb68f7839f98c9fc50b2b75053247e13f99a2ab9
treeb3633d2ba9bbcec8b9df9cf556764a3624a2a769
parent4e78ecd2c95281ff15c2c9776d7c0e7203a5ba86
Try to fix gcc compilation errors (which are right).
nat64_getlasthdr() returns an int, which can be -1 in case of error,
storing the result in an uint8_t and then comparing to < 0 is not
helpful.  Do what is done in the rest of the code and make proto an
int here as well.
sys/netpfil/ipfw/nat64/nat64_translate.c