Исправлено отображение ttl больше 127
This commit is contained in:
@@ -32,7 +32,7 @@ public class Packet {
|
||||
private Long tempId;
|
||||
|
||||
@Transient
|
||||
private byte ttl;
|
||||
private int ttl;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "stream_id", nullable = false)
|
||||
|
||||
@@ -46,7 +46,8 @@ public class Stream {
|
||||
|
||||
private boolean favorite;
|
||||
|
||||
private byte ttl;
|
||||
@Column(columnDefinition = "smallint")
|
||||
private int ttl;
|
||||
|
||||
@Column(columnDefinition = "char(3)")
|
||||
private String userAgentHash;
|
||||
|
||||
@@ -15,7 +15,7 @@ public class StreamDto {
|
||||
private long endTimestamp;
|
||||
private Set<PatternDto> foundPatterns;
|
||||
private boolean favorite;
|
||||
private byte ttl;
|
||||
private int ttl;
|
||||
private String userAgentHash;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user