diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-05-06 14:41:48 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-05-06 14:41:48 +0000 |
commit | dea7062538591cd055302b30e67b563013021126 (patch) | |
tree | 1cc24d3cbbef8c54b164d286f7945d041edda4a5 /usr.sbin/bgpd/bgpd.h | |
parent | e9ae9f80c3ce69f1f9cddf0117c614c040a96fd3 (diff) |
we need a seperate field for the md5 key len, can't use strlen, noticed
by markus some time ago
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 752d52bb461..30573720de7 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.120 2004/05/06 11:57:55 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.121 2004/05/06 14:41:47 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -158,6 +158,7 @@ enum auth_method { struct peer_auth { enum auth_method method; char md5key[TCP_MD5_KEY_LEN]; + u_int8_t md5key_len; u_int32_t spi_in; u_int32_t spi_out; u_int8_t auth_alg_in; |