Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vppinfra: make _vec_len() read-only
[vpp.git]
/
src
/
plugins
/
dns
/
request_node.c
diff --git
a/src/plugins/dns/request_node.c
b/src/plugins/dns/request_node.c
index
72a76d1
..
9179bf8
100644
(file)
--- a/
src/plugins/dns/request_node.c
+++ b/
src/plugins/dns/request_node.c
@@
-214,7
+214,7
@@
dns46_request_inline (vlib_main_t * vm,
*/
name0 = vnet_dns_labels_to_name (label0, (u8 *) d0, (u8 **) & q0);
vec_add1 (name0, 0);
-
_vec_len (name0) -= 1
;
+
vec_dec_len (name0, 1)
;
t0->request_type = DNS_PEER_PENDING_NAME_TO_IP;