mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix not-nullable columns (#16373)
This commit is contained in:
@@ -399,15 +399,15 @@ class Vrp extends OS implements
|
||||
'port_id' => $ifName_map->get($portAuthSessionEntryParameters['hwAccessInterface'] ?? null, 0),
|
||||
'mac_address' => $mac_address,
|
||||
'auth_id' => $authId,
|
||||
'domain' => $portAuthSessionEntryParameters['hwAccessDomain'] ?? null,
|
||||
'domain' => $portAuthSessionEntryParameters['hwAccessDomain'] ?? '',
|
||||
'username' => $portAuthSessionEntryParameters['hwAccessUserName'] ?? '',
|
||||
'ip_address' => $portAuthSessionEntryParameters['hwAccessIPAddress'] ?? null,
|
||||
'ip_address' => $portAuthSessionEntryParameters['hwAccessIPAddress'] ?? '',
|
||||
'authz_by' => $portAuthSessionEntryParameters['hwAccessType'] ?? '',
|
||||
'authz_status' => $portAuthSessionEntryParameters['hwAccessAuthorizetype'] ?? '',
|
||||
'host_mode' => $portAuthSessionEntryParameters['hwAccessAuthType'] ?? 'default',
|
||||
'timeout' => $portAuthSessionEntryParameters['hwAccessSessionTimeout'] ?? null,
|
||||
'timeout' => $portAuthSessionEntryParameters['hwAccessSessionTimeout'] ?? '',
|
||||
'time_elapsed' => $portAuthSessionEntryParameters['hwAccessOnlineTime'] ?? null,
|
||||
'authc_status' => $portAuthSessionEntryParameters['hwAccessCurAuthenPlace'] ?? null,
|
||||
'authc_status' => $portAuthSessionEntryParameters['hwAccessCurAuthenPlace'] ?? '',
|
||||
'method' => $portAuthSessionEntryParameters['hwAccessAuthtype'] ?? '',
|
||||
'vlan' => $portAuthSessionEntryParameters['hwAccessVLANID'] ?? null,
|
||||
]));
|
||||
|
Reference in New Issue
Block a user