Fix IPv6 stream config prefixLength not being saved

This commit is contained in:
Srivats P 2020-03-27 20:57:59 +05:30
parent f705f7f606
commit acb8222beb

View File

@ -215,7 +215,7 @@ void Ip6ConfigForm::storeWidget(AbstractProtocol *ip6Proto)
srcAddrCount->text());
ip6Proto->setFieldData(
Ip6Protocol::ip6_srcAddrPrefix,
srcAddrPrefix->text());
srcAddrPrefix->text().remove('/'));
ip6Proto->setFieldData(
Ip6Protocol::ip6_dstAddress,
@ -228,6 +228,6 @@ void Ip6ConfigForm::storeWidget(AbstractProtocol *ip6Proto)
dstAddrCount->text());
ip6Proto->setFieldData(
Ip6Protocol::ip6_dstAddrPrefix,
dstAddrPrefix->text());
dstAddrPrefix->text().remove('/'));
}