Merge "fix: The default remote ip prefix is ::/0 if ethertype is IPv6"
This commit is contained in:
commit
5d4e204ebe
@ -81,7 +81,7 @@ export const getSelfColumns = (self) => [
|
|||||||
title: t('Remote IP Prefix'),
|
title: t('Remote IP Prefix'),
|
||||||
dataIndex: 'remote_ip_prefix',
|
dataIndex: 'remote_ip_prefix',
|
||||||
render: (value, record) =>
|
render: (value, record) =>
|
||||||
value || record.ethertype === 'IPv4' ? '0.0.0.0/0' : '::/0',
|
value || (record.ethertype === 'IPv4' ? '0.0.0.0/0' : '::/0'),
|
||||||
isHideable: true,
|
isHideable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user