Announce IPv4 && IPv6 of peers! (#1017)

This commit is contained in:
Cønstantine Kovalensky 2023-11-02 23:05:28 +04:00 committed by GitHub
commit 4a46694f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 13 deletions

View file

@ -358,8 +358,8 @@ CREATE TABLE IF NOT EXISTS `bb_bt_tracker`
`topic_id` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
`peer_id` VARCHAR(20) NOT NULL DEFAULT '0',
`user_id` MEDIUMINT(9) NOT NULL DEFAULT '0',
`ip` VARCHAR(42) NOT NULL DEFAULT '0',
`ipv6` VARCHAR(32) DEFAULT NULL,
`ip` VARCHAR(42) DEFAULT NULL,
`ipv6` VARCHAR(42) DEFAULT NULL,
`port` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
`client` VARCHAR(51) NOT NULL DEFAULT 'Unknown',
`seeder` TINYINT(1) NOT NULL DEFAULT '0',