mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 10:40:19 -04:00
Add case to handle ISPCTL_GET_PDB.
MFC after: 1 week
This commit is contained in:
parent
87ab7d39a4
commit
cc330eadff
1 changed files with 9 additions and 0 deletions
|
|
@ -3461,6 +3461,15 @@ isp_control(struct ispsoftc *isp, ispctl_t ctl, void *arg)
|
|||
}
|
||||
break;
|
||||
|
||||
|
||||
case ISPCTL_GET_PDB:
|
||||
if (IS_FC(isp) && arg) {
|
||||
int id = *((int *)arg);
|
||||
isp_pdb_t *pdb = arg;
|
||||
return (isp_getpdb(isp, id, pdb));
|
||||
}
|
||||
break;
|
||||
|
||||
case ISPCTL_RUN_MBOXCMD:
|
||||
|
||||
isp_mboxcmd(isp, arg, MBLOGALL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue