Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

make ifconfig parameters optional#36

Open
Clement-TS wants to merge 1 commit intoabandonware:master from
telecomsante:master
Open

make ifconfig parameters optional #36
Clement-TS wants to merge 1 commit intoabandonware:master from
telecomsante:master

Conversation

@Clement-TS
Copy link

@Clement-TS Clement-TS commented Apr 3, 2017

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

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

Reviewers

@rzr rzr rzr left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /