diff options
Diffstat (limited to 'runtime/js/30_os.js')
-rw-r--r-- | runtime/js/30_os.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/js/30_os.js b/runtime/js/30_os.js index 4c3c18846..38b0acb32 100644 --- a/runtime/js/30_os.js +++ b/runtime/js/30_os.js @@ -24,6 +24,10 @@ return core.opSync("op_system_memory_info"); } + function networkInterfaces() { + return core.opSync("op_network_interfaces"); + } + // This is an internal only method used by the test harness to override the // behavior of exit when the exit sanitizer is enabled. let exitHandler = null; @@ -89,5 +93,6 @@ systemMemoryInfo, hostname, loadavg, + networkInterfaces, }; })(this); |