diff options
author | 2011-01-10 11:52:04 +0000 | |
---|---|---|
committer | 2011-01-10 11:52:04 +0000 | |
commit | 28970269b9a5b5b29da27a628209bf33072a1f73 (patch) | |
tree | e7ee171867f73492dbad98311ca5bd37a1ac4de0 /usr.sbin/ldpd/labelmapping.c | |
parent | DPFPRINTF already adds the "pf: ", no need to put it in the error (diff) | |
download | wireguard-openbsd-28970269b9a5b5b29da27a628209bf33072a1f73.tar.xz wireguard-openbsd-28970269b9a5b5b29da27a628209bf33072a1f73.zip |
Rename struct fec_tlv to struct tlv since it is just the generic
TLV header which will be used in different places shortly.
Cleanup the ldp.h header file a tiny bit.
Diffstat (limited to 'usr.sbin/ldpd/labelmapping.c')
-rw-r--r-- | usr.sbin/ldpd/labelmapping.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/ldpd/labelmapping.c b/usr.sbin/ldpd/labelmapping.c index bb4176d2118..b099bec2852 100644 --- a/usr.sbin/ldpd/labelmapping.c +++ b/usr.sbin/ldpd/labelmapping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: labelmapping.c,v 1.18 2010/12/31 21:22:42 guenther Exp $ */ +/* $OpenBSD: labelmapping.c,v 1.19 2011/01/10 11:52:04 claudio Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -93,7 +93,7 @@ int recv_labelmapping(struct nbr *nbr, char *buf, u_int16_t len) { struct ldp_msg lm; - struct fec_tlv ft; + struct tlv ft; struct map map; u_int32_t label; int feclen, lbllen, tlen; @@ -202,7 +202,7 @@ int recv_labelrequest(struct nbr *nbr, char *buf, u_int16_t len) { struct ldp_msg lr; - struct fec_tlv ft; + struct tlv ft; struct map map; int feclen, tlen; u_int8_t addr_type; @@ -308,7 +308,7 @@ recv_labelwithdraw(struct nbr *nbr, char *buf, u_int16_t len) { struct map map; struct ldp_msg lw; - struct fec_tlv ft; + struct tlv ft; u_int32_t label = NO_LABEL; int feclen, tlen, numfec = 0; u_int8_t addr_type; @@ -449,7 +449,7 @@ recv_labelrelease(struct nbr *nbr, char *buf, u_int16_t len) { struct map map; struct ldp_msg lr; - struct fec_tlv ft; + struct tlv ft; u_int32_t label = NO_LABEL; int feclen, tlen, numfec = 0; u_int8_t addr_type; @@ -568,7 +568,7 @@ recv_labelabortreq(struct nbr *nbr, char *buf, u_int16_t len) { struct map map; struct ldp_msg la; - struct fec_tlv ft; + struct tlv ft; int feclen, tlen; u_int8_t addr_type; @@ -707,7 +707,7 @@ tlv_decode_reqid(char *buf, u_int16_t len, u_int32_t *reqid) void gen_fec_tlv(struct ibuf *buf, struct in_addr prefix, u_int8_t prefixlen) { - struct fec_tlv ft; + struct tlv ft; u_int8_t type; u_int16_t family; u_int8_t len; |