Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Aug 26, 2024
1 parent 8506f51 commit f9dd8ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ async function moduleProbe() {
async function setupifb0() {
try {
// Check if ifb0 exist
await sudo('ip', ['link', 'show', 'ifb0']);
await sudo('ip', 'link', 'show', 'ifb0');
} catch {
// Add the interface
await sudo('ip', ['link', 'add', 'ifb0', 'type', 'ifb']);
await sudo('ip', 'link', 'add', 'ifb0', 'type', 'ifb');
}

// Bring the interface up
await sudo('ip', ['link', 'set', 'ifb0', 'up']);
await sudo('ip', 'link', 'set', 'ifb0', 'up');
}

async function setup(defaultInterface) {
Expand Down

0 comments on commit f9dd8ca

Please sign in to comment.