From 6a90d08caebd5b86d780e18dbd342d3fe73cb1a0 Mon Sep 17 00:00:00 2001 From: job Date: Wed, 19 Apr 2023 19:26:26 +0000 Subject: [PATCH] Fix missing whitespace in bgpd(8) output --- ...568232ec971819eab2b0009060c463f636bd7c204.asa | Bin 0 -> 1793 bytes usr.sbin/rpki-client/output-bgpd.c | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 regress/usr.sbin/rpki-client/aspa/d6915eb78c75cab0bc46b48568232ec971819eab2b0009060c463f636bd7c204.asa diff --git a/regress/usr.sbin/rpki-client/aspa/d6915eb78c75cab0bc46b48568232ec971819eab2b0009060c463f636bd7c204.asa b/regress/usr.sbin/rpki-client/aspa/d6915eb78c75cab0bc46b48568232ec971819eab2b0009060c463f636bd7c204.asa new file mode 100644 index 0000000000000000000000000000000000000000..30a08a917a77dad4f919559f8af3fbb499ecebf6 GIT binary patch literal 1793 zcmb_cX;c$e6wXX0VG~fGfU*m?lf0QpNTTJ`kc6dDHi@<95wnbnAjW`7WX(u})TL5E zu!`gqL7`wzT`DM8x1)j z!F1Z?5(K7E1(0DtB7=aWKhV=*2!`$GV{>fG_8WCyz>X(FNyz?@WJWizeAg7RV9)@L zqJYh$OA)&56d;q~G6Aks;#{tR&-Ybg3Y^OUK&ep5mf(bvEBEE1aybvUI#^;j;GhDO z54ac}O+gL?c_<$R6#Td-PmF;8G0GK+0N|q{fkeO)NN^1G#W-R#fX9&tFjVa84@hX@ zhr>Y(8l8l!X;j=CCLxGch_+LM)fR*Q+7q6kI@)TQ>YaWmd|W|e==~Vha#AyIY+sJ& z5--iBgJe`so^QFI`MuZmO?h>m)zJ-u`%UW&NwaGs0*O@}b++84&aCF*{20IO7c-93 zOc69MT6t<}p&PLyOqbX&rmV8aIqg(IoyNRqo6m}qrGiGM$xAmB7_~%vZZ50icHbYJ z8&h)cEvS6%8+^T;Hz+lJJ%6_L;xX^o5TC3{S2*bT;LBx&_6+N}RmaOp?PD8yoG!LF zMsrdYmDU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;eEIAvyJD|3tMBgnDgM_!`#%5S)bLl`U?&l2WeA+~r2Z1; zck!9M#&|o?Vd2B4L(7m}bAhcesMWN3TzlS>?g`}_%|6M`-H88wZgN*bW%=T;!-n(X gx)o`+0$8HOuDz*s_>eSNoZLO`TuVr=Q}y(}0PFybeE * @@ -67,11 +67,11 @@ output_bgpd(FILE *out, struct vrp_tree *vrps, struct brk_tree *brks, return -1; switch (vap->providers[i].afi) { case AFI_IPV4: - if (fprintf(out, "inet") < 0) + if (fprintf(out, " inet") < 0) return -1; break; case AFI_IPV6: - if (fprintf(out, "inet6") < 0) + if (fprintf(out, " inet6") < 0) return -1; break; } -- 2.20.1