learned_dscp is a uint8_t and not a unsigned short, pass x to printf instead