Message ID | 4639821697688735@2ifjmylsx37py6nh.sas.yp-c.yandex.net |
---|---|
State | Superseded |
Headers | show |
Series | [ovs-dev] fix a copy-paste typo | expand |
Context | Check | Description |
---|---|---|
ovsrobot/apply-robot | success | apply and check: success |
ovsrobot/github-robot-_Build_and_Test | success | github build: passed |
ovsrobot/github-robot-_ovn-kubernetes | success | github build: passed |
diff --git a/northd/northd.c b/northd/northd.c index 916068d44..f8b046d83 100644 --- a/northd/northd.c +++ b/northd/northd.c @@ -15765,7 +15765,7 @@ build_lrouter_nat_defrag_and_lb(struct ovn_datapath *od, struct hmap *lflows, !lport_addresses_is_empty(&od->lb_force_snat_addrs); for (int i = 0; i < od->nbr->n_nat; i++) { - const struct nbrec_nat *nat = nat = od->nbr->nat[i]; + const struct nbrec_nat *nat = od->nbr->nat[i]; struct eth_addr mac = eth_addr_broadcast; bool is_v6, distributed_nat; ovs_be32 mask;
Although this typo does not cause a real error. Look at my test: https://gcc.godbolt.org/z/hdKc389vd Signed-off-by: Igor Zhukov <fsb4000@yandex.ru> --- northd/northd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)