netkitty 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPv4.d.ts","sourceRoot":"","sources":["../../../../src/lib/codec/headers/IPv4.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAA;AAWlD,qBAAa,IAAK,SAAQ,UAAU;IAEhC;;;;OAIG;IACH,SAAS,CAAC,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAatD,MAAM,EAAE,kBAAkB,CA8RhC;IAED,SAAgB,EAAE,EAAE,MAAM,CAAS;IAEnC,SAAgB,IAAI,EAAE,MAAM,CAAgC;IAE5D,SAAgB,QAAQ,EAAE,MAAM,CAAS;IAElC,KAAK,IAAI,OAAO;
|
|
1
|
+
{"version":3,"file":"IPv4.d.ts","sourceRoot":"","sources":["../../../../src/lib/codec/headers/IPv4.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAA;AAWlD,qBAAa,IAAK,SAAQ,UAAU;IAEhC;;;;OAIG;IACH,SAAS,CAAC,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAatD,MAAM,EAAE,kBAAkB,CA8RhC;IAED,SAAgB,EAAE,EAAE,MAAM,CAAS;IAEnC,SAAgB,IAAI,EAAE,MAAM,CAAgC;IAE5D,SAAgB,QAAQ,EAAE,MAAM,CAAS;IAElC,KAAK,IAAI,OAAO;CAI1B"}
|
|
@@ -333,7 +333,6 @@ class IPv4 extends BaseHeader_1.BaseHeader {
|
|
|
333
333
|
match() {
|
|
334
334
|
if (!this.prevCodecModule)
|
|
335
335
|
return false;
|
|
336
|
-
console.log('!!!!!', this.prevCodecModule.instance.etherType.getValue());
|
|
337
336
|
return this.prevCodecModule.instance.etherType.getValue() === (0, NumberToHex_1.UInt16ToHex)(0x0800);
|
|
338
337
|
}
|
|
339
338
|
}
|
package/package.json
CHANGED
|
@@ -326,7 +326,6 @@ export class IPv4 extends BaseHeader {
|
|
|
326
326
|
|
|
327
327
|
public match(): boolean {
|
|
328
328
|
if (!this.prevCodecModule) return false
|
|
329
|
-
console.log('!!!!!',this.prevCodecModule.instance.etherType.getValue())
|
|
330
329
|
return this.prevCodecModule.instance.etherType.getValue() === UInt16ToHex(0x0800)
|
|
331
330
|
}
|
|
332
331
|
}
|