summaryrefslogtreecommitdiff
path: root/sys/ddb/db_interface.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2018-04-19 22:31:26 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2018-04-19 22:31:26 +0000
commit31f0fa96d0969964be882066f7d4eda26d6e40d1 (patch)
treec6bc2c1095e1bdb652e007e5d07e505934c4a2ef /sys/ddb/db_interface.h
parent8a7e48be93732bc5dd175abc4124b25a44d3c871 (diff)
when adding span ports, restrict them to ether and mplstunnel interfaces.
this is the same check that's done when adding normal members to the bridge. it prevents things like gif(4) being added to the bridge, which in turn prevents panics when shoving ethernet packets down a layer 3 interface. reported and tested by jasper@
Diffstat (limited to 'sys/ddb/db_interface.h')
0 files changed, 0 insertions, 0 deletions