mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2026-02-01 08:34:41 +01:00
add test support for list of ip addresses
This commit is contained in:
@@ -22,7 +22,7 @@ export class IpAddressView extends React.Component<IpAddressViewProps>
|
||||
<tbody>
|
||||
{this.props.ipAddresses.map((ip, i) => <tr key={i}>
|
||||
<td className="label"><strong>{ip.toString()}</strong></td>
|
||||
<td>
|
||||
<td className="bin">
|
||||
{this.bin(ip.firstByte, 1, ip)}<span className="soft">.</span>
|
||||
{this.bin(ip.secondByte, 2, ip)}<span className="soft">.</span>
|
||||
{this.bin(ip.thirdByte, 3, ip)}<span className="soft">.</span>
|
||||
|
||||
Reference in New Issue
Block a user