Project

General

Profile

Bug #11911

Inconsistent case handling for properties in dladm

Added by Garrett D'Amore 19 days ago.

Status:
New
Priority:
Normal
Category:
lib - userland libraries
Start date:
Due date:
% Done:

90%

Estimated time:
2.00 h
Difficulty:
Medium
Tags:

Description

We noticed that when setting the mtu property using "mtu", the value would persist across reboots. But if we set the property using "MTU", it would not.

Upon deeper investigation, what we find is that the dladm data contains the upper case instead of the lower case, or even in addition.

This is due to inconsistent handling in the library.

Also available in: Atom PDF