Project

General

Profile

Bug #6561

warning incorrect: dladm: warning: invalid link property 'protection'

Added by Igor Kozhukhov over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-01-18
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

smartos

update link property 'protection' work fine, but dladm show warning about it:

[root@0c-c4-7a-59-62-0d ~]# dladm show-linkprop -p protection -z 279b622c-5e1d-4171-ae1a-4b0bc72a7222 net0
LINK         PROPERTY        PERM VALUE          DEFAULT        POSSIBLE
net0         protection      rw   restricted,    --             mac-nospoof,
                                  dhcp-nospoof                  restricted,
                                                                ip-nospoof,
                                                                dhcp-nospoof 

[root@0c-c4-7a-59-62-0d ~]# dladm set-linkprop -p protection=dhcp-nospoof -z 279b622c-5e1d-4171-ae1a-4b0bc72a7222 net0
dladm: warning: invalid link property 'protection'

[root@0c-c4-7a-59-62-0d ~]# 
[root@0c-c4-7a-59-62-0d ~]# dladm show-linkprop -p protection -z 279b622c-5e1d-4171-ae1a-4b0bc72a7222 net0
LINK         PROPERTY        PERM VALUE          DEFAULT        POSSIBLE
net0         protection      rw   dhcp-nospoof   --             mac-nospoof,
                                                                restricted,
                                                                ip-nospoof,
                                                                dhcp-nospoof 

History

#1

Updated by Adam Števko over 4 years ago

This was also tested on OI hipster and there it works as expected. This issue is completely related to SmartOS.

Also available in: Atom PDF