Skip to content

Conversation

@Clement-TS
Copy link

When you just want to up an interface, you don't need to give any networ/broadcast/mask. Usually in your console you just do ifconfig wlan0 up
That's what I'm suggesting here

@Clement-TS
Copy link
Author

@bakerface do you still maintain this project? Is my proposal unuseful?


it('should bring up the interface without broadcast nor subnet', function(done) {
ifconfig.exec = function(command, callback) {
should(command).eql('ifconfig wlan0 192.168.10.1 up');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may this address be used from ENV var?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants