summaryrefslogtreecommitdiffstats
path: root/sys/net/if_sppp.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2001-12-26 22:35:10 +0000
committerjoerg <joerg@FreeBSD.org>2001-12-26 22:35:10 +0000
commit1dba1c03d643c2d893efbbc7960c73a4ff928efc (patch)
treed7367c5cf59bc87622fe973b2f1b78d936a47a78 /sys/net/if_sppp.h
parentdf14212885dee723bc4b97cd9667e230fa19a8f0 (diff)
downloadFreeBSD-src-1dba1c03d643c2d893efbbc7960c73a4ff928efc.zip
FreeBSD-src-1dba1c03d643c2d893efbbc7960c73a4ff928efc.tar.gz
Fix some pseudo-enumeration constants in the IPv6 implementation so
they are unique and thus actually usable as flagbits. I wonder how it even worked so far... MFC after: 1 week
Diffstat (limited to 'sys/net/if_sppp.h')
-rw-r--r--sys/net/if_sppp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_sppp.h b/sys/net/if_sppp.h
index 0c2a201..7560f59 100644
--- a/sys/net/if_sppp.h
+++ b/sys/net/if_sppp.h
@@ -48,9 +48,9 @@ struct sipcp {
#define IPCP_MYADDR_DYN 2 /* my address is dynamically assigned */
#define IPCP_MYADDR_SEEN 4 /* have seen his address already */
#ifdef notdef
-#define IPV6CP_MYIFID_DYN 2 /* my ifid is dynamically assigned */
+#define IPV6CP_MYIFID_DYN 8 /* my ifid is dynamically assigned */
#endif
-#define IPV6CP_MYIFID_SEEN 4 /* have seen his ifid already */
+#define IPV6CP_MYIFID_SEEN 0x10 /* have seen his ifid already */
};
#define AUTHNAMELEN 32
OpenPOWER on IntegriCloud