Skip to content

Mangled transceiver_driver_version_info #11

Description

@kido5217

I've got some strange symbols in transceiver_driver_version_info.
In hex view it's NUL (00) character in 000001d0 after 2e 37 and then 9-generic:

$ hexdump tr_expr_metrics_eth.txt -C | grep -C 2 generic
000001b0  65 72 73 69 6f 6e 5f 69  6e 66 6f 7b 64 72 69 76  |ersion_info{driv|
000001c0  65 72 5f 76 65 72 73 69  6f 6e 3d 22 35 2e 31 38  |er_version="5.18|
000001d0  2e 37 00 39 2d 67 65 6e  65 72 69 63 22 2c 69 6e  |.7.9-generic",in|
000001e0  74 65 72 66 61 63 65 3d  22 65 74 68 2d 6d 67 30  |terface="eth-mg0|
000001f0  22 7d 20 31 0a 23 20 48  45 4c 50 20 74 72 61 6e  |"} 1.# HELP tran|

Raw file captured by curl:

tr_expr_metrics_eth.txt

Version should be just 5.18.7 without any 9-generic

$ ethtool -i eth-mg0
driver: igb
version: 5.18.7
firmware-version: 1.61, 0x8000090e
expansion-rom-version: 
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions